aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llthread.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:04 -0500
committerJacek Antonelli2008-08-15 23:45:04 -0500
commit117e22047c5752352342d64e3fb7ce00a4eb8113 (patch)
treee32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llcommon/llthread.cpp
parentSecond Life viewer sources 1.18.0.6 (diff)
downloadmeta-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.cpp4
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
227void LLThread::yield() 227void 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();