How do I obtain Sleep(0) like behaviour in Linux

Viewed 6700

On Windows Sleep(0) yields thread control without specifying a minimum time, (see here) But on Linux and POSIX sleep(0) from unistd.h is just ignored.

What's the best way to get Sleep(0) like behaviour in Linux?

1 Answers
Related