You can wait by getting a Timer::Connection and using either the msleep() or usleep() method, depending on whether you have ms or us.
On Thu, Oct 14, 2021, 10:10 AM Kevin Burton kevin.burton@tum.de wrote:
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