diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llcommon/llthread.cpp | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llcommon/llthread.cpp b/linden/indra/llcommon/llthread.cpp index 0f833ab..d261c8b 100644 --- a/linden/indra/llcommon/llthread.cpp +++ b/linden/indra/llcommon/llthread.cpp | |||
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | #include "lltimer.h" | 33 | #include "lltimer.h" |
34 | 34 | ||
35 | #if LL_LINUX | 35 | #if LL_LINUX || LL_SOLARIS |
36 | #include <sched.h> | 36 | #include <sched.h> |
37 | #endif | 37 | #endif |
38 | 38 | ||
@@ -226,7 +226,7 @@ void LLThread::setQuitting() | |||
226 | // static | 226 | // static |
227 | void LLThread::yield() | 227 | void LLThread::yield() |
228 | { | 228 | { |
229 | #if LL_LINUX | 229 | #if LL_LINUX || LL_SOLARIS |
230 | sched_yield(); // annoyingly, apr_thread_yield is a noop on linux... | 230 | sched_yield(); // annoyingly, apr_thread_yield is a noop on linux... |
231 | #else | 231 | #else |
232 | apr_thread_yield(); | 232 | apr_thread_yield(); |