Home
last modified time | relevance | path

Searched refs:PTHREAD_CREATE_DETACHED (Results 1 – 6 of 6) sorted by relevance

/bionic/benchmarks/
Dsemaphore_benchmark.cpp92 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in SetUp()
/bionic/libc/bionic/
Dpthread_attr.cpp89 if (state == PTHREAD_CREATE_DETACHED) { in pthread_attr_setdetachstate()
101 …*state = (attr->flags & PTHREAD_ATTR_FLAG_DETACHED) ? PTHREAD_CREATE_DETACHED : PTHREAD_CREATE_JOI… in pthread_attr_getdetachstate()
Dposix_timers.cpp144 pthread_attr_setdetachstate(&thread_attributes, PTHREAD_CREATE_DETACHED); in timer_create()
/bionic/libc/include/
Dpthread.h80 #define PTHREAD_CREATE_DETACHED 1 macro
/bionic/tests/headers/posix/
Dpthread_h.c44 MACRO(PTHREAD_CREATE_DETACHED); in pthread_h()
/bionic/tests/
Dpthread_test.cpp240 ASSERT_EQ(is_detached, (detach_state == PTHREAD_CREATE_DETACHED)); in AssertDetached()
2518 ASSERT_EQ(0, pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)); in TEST()
2520 ASSERT_EQ(PTHREAD_CREATE_DETACHED, state); in TEST()
2534 ASSERT_EQ(0, pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)); in TEST()