Home
last modified time | relevance | path

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

/external/valgrind/main/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/icu4c/test/intltest/
Dsimplethread.cpp378 int detachstate = 0; // jdc30: detach state of zero causes in start() local
383 pthread_attr_setdetachstate(&attr, &detachstate); in start()
/external/valgrind/main/drd/
Ddrd_pthread_intercepts.c148 int detachstate; member
332 arg_copy.detachstate == PTHREAD_CREATE_JOINABLE); in DRD_()
447 thread_args.detachstate = PTHREAD_CREATE_JOINABLE; in pthread_create_intercept()
450 if (pthread_attr_getdetachstate(attr, &thread_args.detachstate) != 0) in pthread_create_intercept()
453 assert(thread_args.detachstate == PTHREAD_CREATE_JOINABLE in pthread_create_intercept()
454 || thread_args.detachstate == PTHREAD_CREATE_DETACHED); in pthread_create_intercept()