Home | History | Annotate | Download | only in pthread_rwlock_rdlock

Lines Matching defs:thread_state

34 static int thread_state;
36 /* thread_state indicates child thread state:
49 thread_state = ENTERED_THREAD;
67 thread_state = EXITING_THREAD;
92 thread_state = NOT_CREATED_THREAD;
105 } while (thread_state != EXITING_THREAD && cnt++ < 3);
107 if (thread_state == ENTERED_THREAD) {
112 } else if (thread_state != EXITING_THREAD) {
137 thread_state = NOT_CREATED_THREAD;
148 } while (thread_state != EXITING_THREAD && cnt++ < 3);
150 if (thread_state == EXITING_THREAD) {
154 } else if (thread_state != ENTERED_THREAD) {
169 } while (thread_state != EXITING_THREAD && cnt++ < 3);
171 if (thread_state == ENTERED_THREAD) {
175 } else if (thread_state != EXITING_THREAD) {