You can wait by getting a Timer::Connection and using either the msleep() or usleep() method, depending on whether you have ms or us.
Hello Genodians,
is it possible to have the main thread either sleep for a specific
amount of time or have it wait for a keyboard input? If yes, how would I
go about implementing it?
I have read online that the Timer service is in charge of sleeps, but I
haven't found a way to use it at all.
Thanks in advance for your help.
Kind regards,
Kevin Burton
_______________________________________________
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users