sleep and/or keyboard listen

Joel Valenciano joelv1907 at gmail.com
Sun Oct 17 04:54:08 CEST 2021


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 at 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 at lists.genode.org
> https://lists.genode.org/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20211016/b7dd35b4/attachment.html>


More information about the users mailing list