diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llcommon/llthread.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/llcommon/llthread.cpp')
-rw-r--r-- | linden/indra/llcommon/llthread.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llcommon/llthread.cpp b/linden/indra/llcommon/llthread.cpp index c0e92ca..48ebc4b 100644 --- a/linden/indra/llcommon/llthread.cpp +++ b/linden/indra/llcommon/llthread.cpp | |||
@@ -31,6 +31,8 @@ | |||
31 | #include "linden_common.h" | 31 | #include "linden_common.h" |
32 | #include "llapr.h" | 32 | #include "llapr.h" |
33 | 33 | ||
34 | #include "apr-1/apr_portable.h" | ||
35 | |||
34 | #include "llthread.h" | 36 | #include "llthread.h" |
35 | 37 | ||
36 | #include "lltimer.h" | 38 | #include "lltimer.h" |
@@ -225,6 +227,11 @@ void LLThread::setQuitting() | |||
225 | wake(); | 227 | wake(); |
226 | } | 228 | } |
227 | 229 | ||
230 | // static | ||
231 | U32 LLThread::currentID() | ||
232 | { | ||
233 | return (U32)apr_os_thread_current(); | ||
234 | } | ||
228 | 235 | ||
229 | // static | 236 | // static |
230 | void LLThread::yield() | 237 | void LLThread::yield() |