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?
- Dan