Home
last modified time | relevance | path

Searched refs:detachstate (Results 1 – 5 of 5) sorted by relevance

/external/valgrind/drd/tests/
Dpth_detached_sem.c47 int detachstate; in main() local
57 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); in main()
58 assert(detachstate == PTHREAD_CREATE_DETACHED); in main()
69 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); in main()
70 assert(detachstate == PTHREAD_CREATE_JOINABLE); in main()
Dpth_detached.c42 int detachstate; in main() local
50 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); in main()
51 assert(detachstate == PTHREAD_CREATE_DETACHED); in main()
62 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); in main()
63 assert(detachstate == PTHREAD_CREATE_JOINABLE); in main()
/external/icu/icu4c/source/test/intltest/
Dsimplethread.cpp388 int detachstate = 0; // jdc30: detach state of zero causes in start() local
393 pthread_attr_setdetachstate(&attr, &detachstate); in start()
/external/valgrind/drd/
Ddrd_pthread_intercepts.c148 int detachstate; member
358 arg_copy.detachstate == PTHREAD_CREATE_JOINABLE); in DRD_()
475 thread_args.detachstate = PTHREAD_CREATE_JOINABLE; in pthread_create_intercept()
478 if (pthread_attr_getdetachstate(attr, &thread_args.detachstate) != 0) in pthread_create_intercept()
481 assert(thread_args.detachstate == PTHREAD_CREATE_JOINABLE in pthread_create_intercept()
482 || thread_args.detachstate == PTHREAD_CREATE_DETACHED); in pthread_create_intercept()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc3472 INTERCEPTOR_PTHREAD_ATTR_GET(detachstate, sizeof(int))