diff options
Diffstat (limited to '')
| -rw-r--r-- | src/stable/thread.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stable/thread.cpp b/src/stable/thread.cpp index 1bd2040..141f54a 100644 --- a/src/stable/thread.cpp +++ b/src/stable/thread.cpp | |||
| @@ -5,9 +5,8 @@ | |||
| 5 | * terms of the license contained in the file LICENSE. | 5 | * terms of the license contained in the file LICENSE. |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | #include "bu/thread.h" | ||
| 9 | |||
| 10 | #include "bu/config.h" | 8 | #include "bu/config.h" |
| 9 | #include "bu/thread.h" | ||
| 11 | 10 | ||
| 12 | namespace Bu { subExceptionDef( ThreadException ); } | 11 | namespace Bu { subExceptionDef( ThreadException ); } |
| 13 | 12 | ||
| @@ -78,7 +77,7 @@ void Bu::Thread::yield() | |||
| 78 | #ifndef WIN32 | 77 | #ifndef WIN32 |
| 79 | pthread_yield(); | 78 | pthread_yield(); |
| 80 | #else | 79 | #else |
| 81 | #warning Bu::Thread::yield IS A STUB for WIN32!!!! | 80 | sched_yield(); |
| 82 | #endif | 81 | #endif |
| 83 | } | 82 | } |
| 84 | 83 | ||
