Better implementation for usleep()

Nick Burrett nick at dsvr.net
Sat Mar 30 02:02:03 PST 2002


John Tytgat <John.Tytgat at aaug.net> writes:

> This patch mainly is a better implementation for usleep() which now
> works at a resolution of 1/100th of a second instead of 1 second.
> 
> Two comments:
>   - Return type of usleep() got changed to 'int'.  Cfr. mail GCC mailing
>     list msg-id <bc5b61084b.Jo at hobbes.riscos.be>
>   - I also added a small fix in features.h which greatly reduces
>     the warning list for Norcroft users.  Cfr mail GCC mailing list msg-id
>     <082058084b.Jo at hobbes.riscos.be>.

Thanks. I've committed this.



More information about the gcc mailing list