1 Jul 2010 09:06
Re: usleep not available ?
> Oops, I hadn't noticed libmingwex nowadays indeed has a usleep(). > Thanks, zouzou. Still, looking in its source shows that is just does: > > Sleep((useconds + 999) / 1000); ... yes - the same as it is the case with the nanosleep implementation. So, Sleep indeed takes values below 1, which I didn't expect at all. Nevertheless, I am wondering how accurate this will be. I will go and figure. One last thing: Despite including <unistd.h> it tells me "usleep was not declared in this scope". So far that confuses me. I just installed the latest Mingw but it did not lead to a change. I anyone has a further guess why, please let me know. Thanks -- A l e x ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at:(Continue reading)
RSS Feed