Norbert Federa 458f606934 winpr/thread: fix SwitchToThread
On some operating systems sched_yield is a stub returning returning -1.
In that case use usleep which should at least trigger a context switch
if any thread is waiting.
2016-06-02 15:38:57 +02:00
..
2016-06-02 15:38:57 +02:00
2016-05-03 14:42:08 +02:00
2016-05-03 14:42:08 +02:00
2016-03-29 20:34:52 -04:00
2016-03-29 18:14:34 +02:00