nanosleep

Jim Knoble jmknoble at pobox.com
Wed Feb 26 18:24:58 EST 2003


Circa 2003-02-26 17:53:07 +1100 dixit Darren Tucker:

: Jim Knoble wrote:q
: > nanosleep() is a system call under OpenBSD.  Perhaps it could be
: > defined in terms of usleep() [...]?
: 
: If you're going to build a nanosleep replacement shouldn't you use
: select()?  It's already used in openssh so it's guaranteed to be on any
: currently working platform.

Even better.

-- 
jim knoble  |  jmknoble at pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
Stop the War on Freedom ... Start the War on Poverty!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 256 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030226/2382a655/attachment.bin 


More information about the openssh-unix-dev mailing list