> timeval tv = { 0, ...whatever.. }
> select(NULL,NULL,NULL, &tv);
>
> is probably more portable than nanosleep and is small enough to just
> include directly in the Elektra source in an "_elektra_usleep" function.
I personally don't mind, I find nanosleep more obvious, but do whatever
you like.
On http://daniel.haxx.se/projects/portability/ there is a note about
select on windows but I don't know if it is relevant here.
--
Pat
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Registry-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/registry-list