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