mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
fc3bd14da0
This patch enables basic use cases of the POSIX 'alarm' function, which schedules the delivery of a SIGALRM signal after a specified amount of seconds. Issue #5337
23 lines
515 B
Plaintext
23 lines
515 B
Plaintext
<runtime ram="3M" caps="200" binary="test-libc_alarm">
|
|
|
|
<requires> <timer/> </requires>
|
|
|
|
<fail after_seconds="13"/>
|
|
<succeed>triggered_alarms=3</succeed>
|
|
|
|
<content>
|
|
<rom label="ld.lib.so"/>
|
|
<rom label="test-libc_alarm"/>
|
|
<rom label="libc.lib.so"/>
|
|
<rom label="libm.lib.so"/>
|
|
<rom label="vfs.lib.so"/>
|
|
<rom label="posix.lib.so"/>
|
|
</content>
|
|
|
|
<config>
|
|
<vfs> <dir name="dev"> <log/> </dir> </vfs>
|
|
<libc stdout="/dev/log" stderr="/dev/log"/>
|
|
<arg value="test-libc_alarm"/>
|
|
</config>
|
|
</runtime>
|