Searched refs:attr (Results 1 - 2 of 2) sorted by relevance
/art/runtime/ |
H A D | thread_pool.cc | 34 pthread_attr_t attr; local 35 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); 36 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, stack_size), reason); 37 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); 38 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason);
|
H A D | thread.cc | 261 pthread_attr_t attr; local 262 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), "new thread"); 263 CHECK_PTHREAD_CALL(pthread_attr_setdetachstate, (&attr, PTHREAD_CREATE_DETACHED), "PTHREAD_CREATE_DETACHED"); 264 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, stack_size), stack_size); 265 int pthread_create_result = pthread_create(&new_pthread, &attr, Thread::CreateCallback, child_thread); 266 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), "new thread");
|
Completed in 3136 milliseconds