Home | History | Annotate | Download | only in pthread_create

Lines Matching refs:ret

48 	int ret;
66 ret = pthread_sigmask(SIG_SETMASK, &main_sigmask, NULL);
67 if (ret) {
68 fprintf(stderr, "pthread_sigmask(): %s\n", strerror(ret));
81 ret = pthread_create(&new_th, NULL, a_thread_func, NULL);
82 if (ret) {
83 fprintf(stderr, "pthread_create(): %s\n", strerror(ret));
87 ret = pthread_join(new_th, NULL);
88 if (ret) {
89 fprintf(stderr, "pthread_join(): %s\n", strerror(ret));
93 ret = sigismember(&th_sigmask, SIGUSR1);
94 if (ret == 0) {
98 if (ret != 1) {
103 ret = sigismember(&th_sigmask, SIGUSR2);
104 if (ret == 0) {
108 if (ret != 1) {
113 ret = sigismember(&th_pendingset, SIGUSR1);
114 if (ret == 1) {
118 if (ret != 0) {
123 ret = sigismember(&th_pendingset, SIGUSR2);
124 if (ret == 1) {
128 if (ret != 0) {