[Monetdb-developers] usleep not portable
sjoerd at acm.org
Tue May 22 14:34:25 CEST 2007
Jennie, you introduced a call to usleep in xrpc_client.mx. How
important is that?
The problem is, usleep is not portable. For one, it is not a Posix call
(use nanosleep instead), and worse (in practice), it's not available on
Windows (but neither is nanosleep). On Windows there is Sleep() which
takes milliseconds as an argument (unlike sleep which takes seconds,
usleep which takes microseconds, and nanosleep which has nanosecond
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 369 bytes
Desc: OpenPGP digital signature
More information about the developers-list