equal
deleted
inserted
replaced
164 |
164 |
165 #endif // ndef DTRACE_ENABLED |
165 #endif // ndef DTRACE_ENABLED |
166 |
166 |
167 #ifndef USE_LIBRARY_BASED_TLS_ONLY |
167 #ifndef USE_LIBRARY_BASED_TLS_ONLY |
168 // Current thread is maintained as a thread-local variable |
168 // Current thread is maintained as a thread-local variable |
169 THREAD_LOCAL_DECL Thread* Thread::_thr_current = NULL; |
169 THREAD_LOCAL Thread* Thread::_thr_current = NULL; |
170 #endif |
170 #endif |
171 |
171 |
172 // ======= Thread ======== |
172 // ======= Thread ======== |
173 // Support for forcing alignment of thread objects for biased locking |
173 // Support for forcing alignment of thread objects for biased locking |
174 void* Thread::allocate(size_t size, bool throw_excpt, MEMFLAGS flags) { |
174 void* Thread::allocate(size_t size, bool throw_excpt, MEMFLAGS flags) { |