Added #ifdef HAVE_SCHED_YIELD

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2000-02-04 23:41:25 +00:00
parent b63f97ea94
commit 6f837e5cc0

View File

@@ -835,7 +835,9 @@ bool wxThread::IsMain()
void wxThread::Yield()
{
#ifdef HAVE_SCHED_YIELD
sched_yield();
#endif
}
void wxThread::Sleep(unsigned long milliseconds)