Searched refs:detachstate (Results 1 – 4 of 4) sorted by relevance
47 int detachstate; in main() local57 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()
42 int detachstate; in main() local50 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()
378 int detachstate = 0; // jdc30: detach state of zero causes in start() local383 pthread_attr_setdetachstate(&attr, &detachstate); in start()
148 int detachstate; member332 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()