[fpc-devel] fpNanoSleep vs Select()
Ales Katona
ales at chello.sk
Fri Oct 7 10:17:46 CEST 2005
Hello, I'd like to ask why Sleep() function in unix world uses Select()
instead of fpNanoSleep()? Is there a particular reason? After a somewhat
riggid discussion on the channel yesterday I came up testing threading
using sleep() and nanosleep(). The difference in speed is huge. I'm
prepared to make a patch for Sleep() to use NanoSleep but I'd like to
know if there are any reasons again such approach.
Thanks
Ales
More information about the fpc-devel
mailing list