Lines Matching refs:retc
253 int retc, policy, inherit; in startThread() local
290 if ((retc = pthread_mutex_init(&(thrd->mutex), NULL)) != 0) { in startThread()
291 printf("Failed to init mutex: %d\n", retc); in startThread()
299 retc = in startThread()
301 printf("Create returns %d\n\n", retc); in startThread()
302 return retc; in startThread()
325 int i, retc, nopi = 0; in main() local
333 retc = sched_setaffinity(0, sizeof(mask), &mask); in main()
334 if (retc < 0) { in main()
335 printf("Main Thread: Can't set affinity: %d %s\n", retc, in main()
336 strerror(retc)); in main()
339 retc = sched_getaffinity(0, sizeof(mask), &mask); in main()
385 if ((retc = pthread_mutex_init(&glob_mutex, &mutexattr)) != 0) { in main()
386 printf("Failed to init mutex: %d\n", retc); in main()