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

1 2

  /external/ltp/testcases/kernel/syscalls/futex/
futex_utils.h 28 char thread_state, name[1024]; local
45 SAFE_FILE_SCANF(NULL, name, "%*i %*s %c", &thread_state);
47 if (thread_state != 'S') {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/
1-1.c 27 static int thread_state; variable
32 thread_state = 2;
49 thread_state = 3;
58 thread_state = 0;
76 thread_state = 1;
89 } while (thread_state != 3 && cnt++ < 3);
91 if (thread_state == 2) {
94 } else if (thread_state != 3) {
2-1.c 27 static int thread_state; variable
32 thread_state = 2;
49 thread_state = 3;
69 thread_state = 1;
82 } while (thread_state != 3 && cnt++ < 3);
84 if (thread_state == 2) {
87 } else if (thread_state != 3) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/
1-1.c 34 static volatile int thread_state; variable
43 thread_state = ENTERED_THREAD;
62 thread_state = EXITING_THREAD;
95 thread_state = NOT_CREATED_THREAD;
1-2.c 36 static volatile int thread_state; variable
45 thread_state = ENTERED_THREAD;
67 thread_state = EXITING_THREAD;
93 thread_state = NOT_CREATED_THREAD;
104 } while (thread_state != EXITING_THREAD && cnt++ < 3);
106 if (thread_state == EXITING_THREAD) {
110 } else if (thread_state != ENTERED_THREAD) {
111 printf("main: Unexpected thread state %d\n", thread_state);
125 } while (thread_state != EXITING_THREAD && cnt++ < 3);
127 if (thread_state == ENTERED_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
9-1.c 85 int thread_state = 0; variable
90 thread_state = 1;
101 thread_state = 2;
135 while (thread_state != 1) {
149 if (thread_state != 1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/
2-1.c 34 static int thread_state; variable
45 thread_state = ENTERED_THREAD;
58 thread_state = EXITING_THREAD;
76 thread_state = NOT_CREATED_THREAD;
86 } while (thread_state != EXITING_THREAD && cnt++ < 2);
88 if (thread_state == EXITING_THREAD) {
93 } else if (thread_state != ENTERED_THREAD) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/
4-1.c 33 static int thread_state; variable
45 thread_state = ENTERED_THREAD;
57 thread_state = EXITING_THREAD;
89 thread_state = NOT_CREATED_THREAD;
99 } while (thread_state != EXITING_THREAD && cnt++ < 2);
101 if (thread_state == EXITING_THREAD) {
106 } else if (thread_state != ENTERED_THREAD) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
1-1.c 31 static int thread_state; variable
39 thread_state = ENTERED_THREAD;
52 thread_state = EXITING_THREAD;
84 thread_state = NOT_CREATED_THREAD;
94 } while (thread_state != EXITING_THREAD && cnt++ < 2);
96 if (thread_state == EXITING_THREAD) {
101 } else if (thread_state != ENTERED_THREAD) {
102 printf("Unexpected thread state: %d\n", thread_state);
126 } while (thread_state != EXITING_THREAD && cnt++ < 3);
128 if (thread_state == ENTERED_THREAD)
    [all...]
3-1.c 36 static int thread_state; variable
54 thread_state = ENTERED_THREAD;
72 thread_state = EXITING_THREAD;
91 thread_state = NOT_CREATED_THREAD;
101 } while (thread_state != EXITING_THREAD && cnt++ < 2);
103 if (thread_state == EXITING_THREAD) {
108 } else if (thread_state != ENTERED_THREAD) {
109 printf("Unexpected thread state: %d\n", thread_state);
123 } while (thread_state != EXITING_THREAD && cnt++ < 2);
130 if (thread_state == EXITING_THREAD)
    [all...]
3-2.c 34 static int thread_state; variable
60 thread_state = ENTERED_THREAD;
78 thread_state = EXITING_THREAD;
98 thread_state = NOT_CREATED_THREAD;
108 } while (thread_state != EXITING_THREAD && cnt++ < 2);
110 if (thread_state == EXITING_THREAD) {
115 } else if (thread_state != ENTERED_THREAD) {
148 } while (thread_state != EXITING_THREAD && cnt++ < 3);
150 if (thread_state == ENTERED_THREAD) {
154 } else if (thread_state != EXITING_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
1-1.c 34 static int thread_state; variable
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)
    [all...]
4-1.c 34 static int thread_state; variable
37 /* thread_state indicates child thread state:
69 thread_state = ENTERED_THREAD;
85 thread_state = EXITING_THREAD;
107 thread_state = NOT_CREATED_THREAD;
117 } while (thread_state != EXITING_THREAD && cnt++ < 3);
119 if (thread_state == EXITING_THREAD) {
123 } else if (thread_state != ENTERED_THREAD) {
124 printf("Unexpected thread state: %d\n", thread_state);
150 } while (thread_state != EXITING_THREAD && cnt++ < 3)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
2-1.c 32 /* thread_state indicates child thread state:
45 static int thread_state; variable
53 thread_state = ENTERED_THREAD;
83 thread_state = EXITING_THREAD;
108 thread_state = NOT_CREATED_THREAD;
121 } while (thread_state != EXITING_THREAD && cnt++ < 5);
123 if (thread_state == EXITING_THREAD) {
129 } else if (thread_state == ENTERED_THREAD) {
134 printf("Unexpected thread state %d\n", thread_state);
1-1.c 35 /* thread_state indicates child thread state:
48 static int thread_state; variable
54 thread_state = ENTERED_THREAD;
83 thread_state = EXITING_THREAD;
105 thread_state = NOT_CREATED_THREAD;
120 } while (thread_state != EXITING_THREAD && cnt++ < 5);
122 if (thread_state == ENTERED_THREAD) {
127 } else if (thread_state != EXITING_THREAD) {
128 printf("Unexpected thread state %d\n", thread_state);
150 thread_state = NOT_CREATED_THREAD
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
2-1.c 37 static int thread_state; variable
40 /* thread_state indicates child thread state:
54 thread_state = ENTERED_THREAD;
88 thread_state = EXITING_THREAD;
111 thread_state = NOT_CREATED_THREAD;
124 } while (thread_state != EXITING_THREAD && cnt++ < 3);
126 switch (thread_state) {
141 printf("Unexpected thread state %d\n", thread_state);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/
1-1.c 36 static int thread_state; variable
38 /* thread_state indicates child thread state:
52 thread_state = ENTERED_THREAD;
67 thread_state = EXITING_THREAD;
74 thread_state = ENTERED_THREAD;
83 thread_state = EXITING_THREAD;
111 thread_state = NOT_CREATED_THREAD;
125 } while (thread_state != EXITING_THREAD && cnt++ < 3);
127 if (thread_state == ENTERED_THREAD) {
132 } else if (thread_state != EXITING_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/
1-1.c 33 static int thread_state; variable
36 /* thread_state indicates child thread state:
48 thread_state = ENTERED_THREAD;
59 thread_state = EXITING_THREAD;
85 thread_state = NOT_CREATED_THREAD;
98 } while (thread_state != EXITING_THREAD && cnt++ < 3);
100 if (thread_state == ENTERED_THREAD) {
105 } else if (thread_state != EXITING_THREAD) {
107 thread_state);
140 thread_state = NOT_CREATED_THREAD
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
1-1.c 35 static int thread_state; variable
37 /* thread_state indicates child thread state:
55 thread_state = ENTERED_THREAD;
71 thread_state = PASSED_RLOCK1;
87 thread_state = PASSED_RLOCK2;
103 thread_state = EXITING_THREAD;
127 thread_state = NOT_CREATED_THREAD;
139 } while (thread_state != PASSED_RLOCK2 && cnt++ < 3);
141 if (thread_state == ENTERED_THREAD) {
144 } else if (thread_state == PASSED_RLOCK1)
    [all...]
2-1.c 32 static int thread_state; variable
34 /* thread_state indicates child thread state:
48 thread_state = ENTERED_THREAD;
64 thread_state = EXITING_THREAD;
87 thread_state = NOT_CREATED_THREAD;
99 } while (thread_state != EXITING_THREAD && cnt++ < 3);
101 if (thread_state == EXITING_THREAD) {
104 } else if (thread_state != ENTERED_THREAD) {
105 printf("Unexpected thread state: %d\n", thread_state);
109 /* thread_state == ENTERED_THREAD, i.e. thread correctly blocks on write lock *
    [all...]
4-2.c 33 static int rc, thread_state; variable
35 /* thread_state indicates child thread state:
47 thread_state = ENTERED_THREAD;
50 thread_state = EXITING_THREAD;
78 thread_state = NOT_CREATED_THREAD;
90 } while (thread_state != EXITING_THREAD && cnt++ < 3);
92 if (thread_state != EXITING_THREAD) {
93 printf("Unexpected thread state %d\n", thread_state);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
1-1.c 33 static int thread_state; variable
35 /* thread_state indicates child thread state:
48 thread_state = ENTERED_THREAD;
67 thread_state = EXITING_THREAD;
90 thread_state = NOT_CREATED_THREAD;
102 } while (thread_state != EXITING_THREAD && cnt++ < 3);
104 if (thread_state == EXITING_THREAD) {
108 } else if (thread_state != ENTERED_THREAD) {
126 } while (thread_state != EXITING_THREAD && cnt++ < 3);
128 if (thread_state == ENTERED_THREAD)
    [all...]
2-1.c 34 /* thread_state indicates child thread state:
44 static int thread_state; variable
70 thread_state = ENTERED_THREAD;
86 thread_state = EXITING_THREAD;
111 thread_state = NOT_CREATED_THREAD;
121 } while (thread_state != EXITING_THREAD && cnt++ < 3);
123 if (thread_state == EXITING_THREAD) {
128 } else if (thread_state != ENTERED_THREAD) {
129 printf("sig_thread in unexpected state %d\n", thread_state);
155 } while (thread_state != EXITING_THREAD && cnt++ < 3)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
1-2.c 32 static volatile int thread_state; variable
41 thread_state = ENTERED_THREAD;
66 thread_state = EXITING_THREAD;
94 thread_state = NOT_CREATED_THREAD;
107 } while (thread_state != EXITING_THREAD && cnt++ < 3);
109 if (thread_state == EXITING_THREAD) {
113 } else if (thread_state != ENTERED_THREAD) {
114 printf("main: Unexpected thread state %d\n", thread_state);
128 } while (thread_state != EXITING_THREAD && cnt++ < 3);
130 if (thread_state == ENTERED_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/
1-1.c 33 static volatile int thread_state; variable
42 if (thread_state == ENTERED_THREAD) {
47 thread_state);
57 thread_state = ENTERED_THREAD;
96 thread_state = NOT_CREATED_THREAD;

Completed in 846 milliseconds

1 2