On Wed, 22 Jan 2003, Dan Kegel wrote: > Marcus Meissner wrote: > > Hi, > > > > glibc 2.3.current CVS is throwing a huge stone in our direction, > > it no longer allows overload of __errno_location. > > > > To visualize this problem I have added this testcase. > ... > > sched_yield(); /* will not change errno */ > > BTW sched_yield() is allowed to be a no-op; would nanosleep() > or something like that be a better choice?
Even better, can we achieve the same effect with a Win32 function? Maybe Sleep(10) (milliseconds) or something like it? It seems like it should be possible to write this without any platform dependent code. -- Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ The software said it requires Win95 or better, so I installed Linux.