Lines Matching refs:err
37 int err = sem_wait(semptr); \
38 assert(err == 0); \
45 int err = sem_post(semptr); \
46 assert(err == 0); \
138 int err = pthread_create(&thread1, NULL, thread_routine, &sems1); in main() local
139 assert(err == 0); in main()
142 err = pthread_create(&thread2, NULL, thread_routine, &sems2); in main()
143 assert(err == 0); in main()
159 err = pthread_join(thread1, &thread_val); in main()
160 assert(err == 0); in main()
167 err = pthread_join(thread2, &thread_val); in main()
168 assert(err == 0); in main()