Home
last modified time | relevance | path

Searched refs:CHECK_PTHREAD_CALL (Results 1 – 12 of 12) sorted by relevance

/art/runtime/
Djava_vm_ext_test.cc91 CHECK_PTHREAD_CALL(pthread_create, (&pthread, nullptr, attach_current_thread_callback, in TEST_F()
94 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
103 CHECK_PTHREAD_CALL(pthread_create, (&pthread, nullptr, attach_current_thread_callback, in TEST_F()
106 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
116 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
117 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, PTHREAD_STACK_MIN), reason); in TEST_F()
118 CHECK_PTHREAD_CALL(pthread_create, (&pthread, &attr, attach_current_thread_callback, in TEST_F()
120 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in TEST_F()
122 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
Dthread_pool.cc39 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in ThreadPoolWorker()
40 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack_->Begin(), stack_->Size()), reason); in ThreadPoolWorker()
41 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); in ThreadPoolWorker()
42 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in ThreadPoolWorker()
46 CHECK_PTHREAD_CALL(pthread_join, (pthread_, nullptr), "thread pool worker shutdown"); in ~ThreadPoolWorker()
Dsignal_catcher.cc75 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, nullptr, &Run, this), "signal catcher thread"); in SignalCatcher()
88 CHECK_PTHREAD_CALL(pthread_kill, (pthread_, SIGQUIT), "signal catcher shutdown"); in ~SignalCatcher()
89 CHECK_PTHREAD_CALL(pthread_join, (pthread_, nullptr), "signal catcher shutdown"); in ~SignalCatcher()
Dutils.cc62 CHECK_PTHREAD_CALL(pthread_threadid_np, (nullptr, &owner), __FUNCTION__); // Requires Mac OS 10.6 in GetTid()
97 CHECK_PTHREAD_CALL(pthread_attr_init, (&attributes), __FUNCTION__); in GetThreadStack()
98 CHECK_PTHREAD_CALL(pthread_attr_getguardsize, (&attributes, guard_size), __FUNCTION__); in GetThreadStack()
99 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attributes), __FUNCTION__); in GetThreadStack()
102 CHECK_PTHREAD_CALL(pthread_getattr_np, (thread, &attributes), __FUNCTION__); in GetThreadStack()
103 CHECK_PTHREAD_CALL(pthread_attr_getstack, (&attributes, stack_base, stack_size), __FUNCTION__); in GetThreadStack()
104 CHECK_PTHREAD_CALL(pthread_attr_getguardsize, (&attributes, guard_size), __FUNCTION__); in GetThreadStack()
105 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attributes), __FUNCTION__); in GetThreadStack()
Dthread.cc429 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), "new thread"); in CreateNativeThread()
430 CHECK_PTHREAD_CALL(pthread_attr_setdetachstate, (&attr, PTHREAD_CREATE_DETACHED), in CreateNativeThread()
432 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, stack_size), stack_size); in CreateNativeThread()
437 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), "new thread"); in CreateNativeThread()
493 CHECK_PTHREAD_CALL(pthread_setspecific, (Thread::pthread_key_self_, this), "attach self"); in Init()
971 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp), in DumpState()
1220 CHECK_PTHREAD_CALL(pthread_setspecific, (Thread::pthread_key_self_, self), "reattach self"); in ThreadExitCallback()
1243 CHECK_PTHREAD_CALL(pthread_key_create, (&Thread::pthread_key_self_, Thread::ThreadExitCallback), in Startup()
1266 CHECK_PTHREAD_CALL(pthread_key_delete, (Thread::pthread_key_self_), "self key"); in Shutdown()
Dtrace.cc363 CHECK_PTHREAD_CALL(pthread_create, (&sampling_pthread_, nullptr, &RunSamplingThread, in Start()
405 CHECK_PTHREAD_CALL(pthread_join, (sampling_pthread, nullptr), "sampling thread shutdown"); in StopTracing()
486 CHECK_PTHREAD_CALL(pthread_join, (sampling_pthread, nullptr), "sampling thread shutdown"); in Pause()
538 CHECK_PTHREAD_CALL(pthread_create, (&sampling_pthread_, nullptr, &RunSamplingThread, in Resume()
Dprofiler.cc347 CHECK_PTHREAD_CALL(pthread_create, (&profiler_pthread_, nullptr, &RunProfilerThread, in Start()
373 CHECK_PTHREAD_CALL(pthread_join, (profiler_pthread, nullptr), "profiler thread shutdown"); in Stop()
Dthread_list.cc1160 CHECK_PTHREAD_CALL(pthread_setspecific, (Thread::pthread_key_self_, nullptr), "detach self"); in Unregister()
/art/runtime/base/
Dmutex-inl.h38 #define CHECK_MUTEX_CALL(call, args) CHECK_PTHREAD_CALL(call, args, name_)
Dlogging.h149 #define CHECK_PTHREAD_CALL(call, args, what) \ macro
/art/runtime/jdwp/
Djdwp_main.cc271 CHECK_PTHREAD_CALL(pthread_create, (&state->pthread_, nullptr, StartJdwpThread, state.get()), in Create()
/art/dex2oat/
Ddex2oat.cc350 #undef CHECK_PTHREAD_CALL