[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Nanosleep for freemint?
Am Sonntag, den 20.06.2010, 15:10 +0200 schrieb David Gálvez
<dgalvez75@gmail.com>:
>
> You have in mintlib "usleep" function:
>
>
http://sparemint.org/cgi-bin/cvsweb/mintlib/posix/usleep.c?rev=1.2&content-type=text/x-cvsweb-markup
>
>
http://sparemint.org/cgi-bin/cvsweb/mintlib/include/unistd.h?rev=1.13&content-type=text/x-cvsweb-markup
Thanks for your info!
I though usleep would always block and would result in 100% CPU usage...
but this seems to be wrong, as it uses Fselect....
Greets,
Ole