genode/repos/libports/recipes/pkg/test-libc_alarm/runtime
Norman Feske fc3bd14da0 libc: rudimentary support for SIGALRM
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
2024-09-06 10:38:45 +02:00

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>