Home | History | Annotate | Download | only in runtime

Lines Matching defs:thread

20 #include "thread.h"
30 inline Thread* Thread::Current() {
31 // We rely on Thread::Current returning null for a detached thread, so it's not obvious
37 void* thread = __get_tls()[TLS_SLOT_ART_THREAD_SELF];
39 void* thread = pthread_getspecific(Thread::pthread_key_self_);
41 return reinterpret_cast<Thread*>(thread);