HomeSort by relevance Sort by last modified time
    Searched refs:thread_state (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
3-1.c 35 static int thread_state; variable
53 thread_state = ENTERED_THREAD;
71 thread_state = EXITING_THREAD;
90 thread_state = NOT_CREATED_THREAD;
100 } while (thread_state != EXITING_THREAD && cnt++ < 2);
102 if (thread_state == EXITING_THREAD) {
107 } else if (thread_state != ENTERED_THREAD) {
108 printf("Unexpected thread state: %d\n", thread_state);
122 } while (thread_state != EXITING_THREAD && cnt++ < 2);
129 if (thread_state == EXITING_THREAD)
    [all...]
1-1.c 30 static int thread_state; variable
38 thread_state = ENTERED_THREAD;
51 thread_state = EXITING_THREAD;
83 thread_state = NOT_CREATED_THREAD;
93 } while (thread_state != EXITING_THREAD && cnt++ < 2);
95 if (thread_state == EXITING_THREAD) {
100 } else if (thread_state != ENTERED_THREAD) {
101 printf("Unexpected thread state: %d\n", thread_state);
125 } while (thread_state != EXITING_THREAD && cnt++ < 3);
127 if (thread_state == ENTERED_THREAD)
    [all...]
3-2.c 33 static int thread_state; variable
59 thread_state = ENTERED_THREAD;
77 thread_state = EXITING_THREAD;
97 thread_state = NOT_CREATED_THREAD;
107 } while (thread_state != EXITING_THREAD && cnt++ < 2);
109 if (thread_state == EXITING_THREAD) {
114 } else if (thread_state != ENTERED_THREAD) {
147 } while (thread_state != EXITING_THREAD && cnt++ < 3);
149 if (thread_state == ENTERED_THREAD) {
153 } else if (thread_state != EXITING_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
1-1.c 32 static int thread_state; variable
34 /* thread_state indicates child thread state:
47 thread_state = ENTERED_THREAD;
66 thread_state = EXITING_THREAD;
89 thread_state = NOT_CREATED_THREAD;
101 } while (thread_state != EXITING_THREAD && cnt++ < 3);
103 if (thread_state == EXITING_THREAD) {
107 } else if (thread_state != ENTERED_THREAD) {
125 } while (thread_state != EXITING_THREAD && cnt++ < 3);
127 if (thread_state == ENTERED_THREAD)
    [all...]
2-1.c 33 /* thread_state indicates child thread state:
43 static int thread_state; variable
69 thread_state = ENTERED_THREAD;
85 thread_state = EXITING_THREAD;
110 thread_state = NOT_CREATED_THREAD;
120 } while (thread_state != EXITING_THREAD && cnt++ < 3);
122 if (thread_state == EXITING_THREAD) {
127 } else if (thread_state != ENTERED_THREAD) {
128 printf("sig_thread in unexpected state %d\n", thread_state);
154 } while (thread_state != EXITING_THREAD && cnt++ < 3)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
1-2.c 31 static volatile int thread_state; variable
40 thread_state = ENTERED_THREAD;
65 thread_state = EXITING_THREAD;
93 thread_state = NOT_CREATED_THREAD;
106 } while (thread_state != EXITING_THREAD && cnt++ < 3);
108 if (thread_state == EXITING_THREAD) {
112 } else if (thread_state != ENTERED_THREAD) {
113 printf("main: Unexpected thread state %d\n", thread_state);
127 } while (thread_state != EXITING_THREAD && cnt++ < 3);
129 if (thread_state == ENTERED_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/
1-2.c 35 static volatile int thread_state; variable
44 thread_state = ENTERED_THREAD;
66 thread_state = EXITING_THREAD;
92 thread_state = NOT_CREATED_THREAD;
103 } while (thread_state != EXITING_THREAD && cnt++ < 3);
105 if (thread_state == EXITING_THREAD) {
109 } else if (thread_state != ENTERED_THREAD) {
110 printf("main: Unexpected thread state %d\n", thread_state);
124 } while (thread_state != EXITING_THREAD && cnt++ < 3);
126 if (thread_state == ENTERED_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/
1-1.c 35 static int thread_state; variable
37 /* thread_state indicates child thread state:
51 thread_state = ENTERED_THREAD;
66 thread_state = EXITING_THREAD;
73 thread_state = ENTERED_THREAD;
82 thread_state = EXITING_THREAD;
110 thread_state = NOT_CREATED_THREAD;
124 } while (thread_state != EXITING_THREAD && cnt++ < 3);
126 if (thread_state == ENTERED_THREAD) {
131 } else if (thread_state != EXITING_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/
2-1.c 26 static int thread_state; variable
31 thread_state = 2;
48 thread_state = 3;
68 thread_state = 1;
81 } while (thread_state != 3 && cnt++ < 3);
83 if (thread_state == 2) {
86 } else if (thread_state != 3) {
1-1.c 26 static int thread_state; variable
31 thread_state = 2;
48 thread_state = 3;
57 thread_state = 0;
75 thread_state = 1;
88 } while (thread_state != 3 && cnt++ < 3);
90 if (thread_state == 2) {
93 } else if (thread_state != 3) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
1-1.c 33 static int thread_state; variable
35 /* thread_state indicates child thread state:
48 thread_state = ENTERED_THREAD;
66 thread_state = EXITING_THREAD;
91 thread_state = NOT_CREATED_THREAD;
104 } while (thread_state != EXITING_THREAD && cnt++ < 3);
106 if (thread_state == ENTERED_THREAD) {
111 } else if (thread_state != EXITING_THREAD) {
136 thread_state = NOT_CREATED_THREAD;
147 } while (thread_state != EXITING_THREAD && cnt++ < 3)
    [all...]
4-1.c 33 static int thread_state; variable
36 /* thread_state indicates child thread state:
68 thread_state = ENTERED_THREAD;
84 thread_state = EXITING_THREAD;
106 thread_state = NOT_CREATED_THREAD;
116 } while (thread_state != EXITING_THREAD && cnt++ < 3);
118 if (thread_state == EXITING_THREAD) {
122 } else if (thread_state != ENTERED_THREAD) {
123 printf("Unexpected thread state: %d\n", thread_state);
149 } while (thread_state != EXITING_THREAD && cnt++ < 3)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/
1-1.c 32 static int thread_state; variable
35 /* thread_state indicates child thread state:
47 thread_state = ENTERED_THREAD;
58 thread_state = EXITING_THREAD;
84 thread_state = NOT_CREATED_THREAD;
97 } while (thread_state != EXITING_THREAD && cnt++ < 3);
99 if (thread_state == ENTERED_THREAD) {
104 } else if (thread_state != EXITING_THREAD) {
106 thread_state);
139 thread_state = NOT_CREATED_THREAD
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
2-1.c 31 static int thread_state; variable
33 /* thread_state indicates child thread state:
47 thread_state = ENTERED_THREAD;
63 thread_state = EXITING_THREAD;
86 thread_state = NOT_CREATED_THREAD;
98 } while (thread_state != EXITING_THREAD && cnt++ < 3);
100 if (thread_state == EXITING_THREAD) {
103 } else if (thread_state != ENTERED_THREAD) {
104 printf("Unexpected thread state: %d\n", thread_state);
108 /* thread_state == ENTERED_THREAD, i.e. thread correctly blocks on write lock *
    [all...]
1-1.c 34 static int thread_state; variable
36 /* thread_state indicates child thread state:
54 thread_state = ENTERED_THREAD;
70 thread_state = PASSED_RLOCK1;
86 thread_state = PASSED_RLOCK2;
102 thread_state = EXITING_THREAD;
126 thread_state = NOT_CREATED_THREAD;
138 } while (thread_state != PASSED_RLOCK2 && cnt++ < 3);
140 if (thread_state == ENTERED_THREAD) {
143 } else if (thread_state == PASSED_RLOCK1)
    [all...]
4-2.c 32 static int rc, thread_state; variable
34 /* thread_state indicates child thread state:
46 thread_state = ENTERED_THREAD;
49 thread_state = EXITING_THREAD;
77 thread_state = NOT_CREATED_THREAD;
89 } while (thread_state != EXITING_THREAD && cnt++ < 3);
91 if (thread_state != EXITING_THREAD) {
92 printf("Unexpected thread state %d\n", thread_state);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
5-1.c 36 static int thread_state; variable
42 thread_state = ENTERED_THREAD;
80 thread_state = EXITING_THREAD;
87 thread_state = ENTERED_THREAD;
125 thread_state = EXITING_THREAD;
136 thread_state = NOT_CREATED_THREAD;
150 } while (thread_state != EXITING_THREAD && cnt++ < 5);
152 if (thread_state == EXITING_THREAD) {
159 } else if (thread_state == ENTERED_THREAD) {
164 printf("Unexpected state for thread1 %d\n", thread_state);
    [all...]
2-1.c 31 /* thread_state indicates child thread state:
44 static int thread_state; variable
52 thread_state = ENTERED_THREAD;
82 thread_state = EXITING_THREAD;
107 thread_state = NOT_CREATED_THREAD;
120 } while (thread_state != EXITING_THREAD && cnt++ < 5);
122 if (thread_state == EXITING_THREAD) {
128 } else if (thread_state == ENTERED_THREAD) {
133 printf("Unexpected thread state %d\n", thread_state);
1-1.c 34 /* thread_state indicates child thread state:
47 static int thread_state; variable
53 thread_state = ENTERED_THREAD;
82 thread_state = EXITING_THREAD;
104 thread_state = NOT_CREATED_THREAD;
119 } while (thread_state != EXITING_THREAD && cnt++ < 5);
121 if (thread_state == ENTERED_THREAD) {
126 } else if (thread_state != EXITING_THREAD) {
127 printf("Unexpected thread state %d\n", thread_state);
149 thread_state = NOT_CREATED_THREAD
    [all...]
3-1.c 37 /* thread_state indicates child thread state:
50 static int thread_state; variable
56 thread_state = ENTERED_THREAD;
96 thread_state = EXITING_THREAD;
118 thread_state = NOT_CREATED_THREAD;
133 } while (thread_state != EXITING_THREAD && cnt++ < 5);
135 if (thread_state == ENTERED_THREAD) {
140 } else if (thread_state != EXITING_THREAD) {
141 printf("Unexpected thread state %d\n", thread_state);
163 thread_state = NOT_CREATED_THREAD
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
5-1.c 33 static int thread_state; variable
37 /* thread_state indicates child thread state:
49 thread_state = ENTERED_THREAD;
87 thread_state = EXITING_THREAD;
94 thread_state = ENTERED_THREAD;
131 thread_state = EXITING_THREAD;
142 thread_state = NOT_CREATED_THREAD;
155 } while (thread_state != 3 && cnt++ < 5);
157 if (thread_state == 3) {
164 } else if (thread_state == ENTERED_THREAD)
    [all...]
1-1.c 40 static int thread_state; variable
44 /* thread_state indicates child thread state:
58 thread_state = ENTERED_THREAD;
86 thread_state = EXITING_THREAD;
102 thread_state = NOT_CREATED_THREAD;
114 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT);
116 if (thread_state == EXITING_THREAD) {
122 } else if (thread_state == ENTERED_THREAD) {
127 printf("Unexpected state for thread0 %d\n", thread_state);
144 thread_state = NOT_CREATED_THREAD
    [all...]
3-1.c 42 static int thread_state; variable
46 /* thread_state indicates child thread state:
60 thread_state = ENTERED_THREAD;
106 thread_state = EXITING_THREAD;
122 thread_state = NOT_CREATED_THREAD;
134 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT);
136 if (thread_state == EXITING_THREAD) {
142 } else if (thread_state == ENTERED_THREAD) {
147 printf("Unexpected state for thread0 %d\n", thread_state);
164 thread_state = NOT_CREATED_THREAD
    [all...]
2-1.c 36 static int thread_state; variable
39 /* thread_state indicates child thread state:
53 thread_state = ENTERED_THREAD;
87 thread_state = EXITING_THREAD;
110 thread_state = NOT_CREATED_THREAD;
123 } while (thread_state != EXITING_THREAD && cnt++ < 3);
125 switch (thread_state) {
140 printf("Unexpected thread state %d\n", thread_state);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/
4-1.c 32 static int thread_state; variable
44 thread_state = ENTERED_THREAD;
56 thread_state = EXITING_THREAD;
88 thread_state = NOT_CREATED_THREAD;
98 } while (thread_state != EXITING_THREAD && cnt++ < 2);
100 if (thread_state == EXITING_THREAD) {
105 } else if (thread_state != ENTERED_THREAD) {

Completed in 700 milliseconds

1 2 3