Home
last modified time | relevance | path

Searched refs:PTHREAD_MUTEX_ERRORCHECK (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/musl/libc-test/src/functional/
Dpthread_mutex.c127 T(pthread_mutexattr_settype(&a, PTHREAD_MUTEX_ERRORCHECK)); in test_mutexattr()
129 if (i != PTHREAD_MUTEX_ERRORCHECK) in test_mutexattr()
130 …("setting error check mutex type failed failed: got %d, wanted %d\n", i, PTHREAD_MUTEX_ERRORCHECK); in test_mutexattr()
143 i = test_relock(PTHREAD_MUTEX_ERRORCHECK); in main()
150 i = test_unlock(PTHREAD_MUTEX_ERRORCHECK); in main()
157 i = test_unlock_other(PTHREAD_MUTEX_ERRORCHECK); in main()
Dpthread_mutex_pi.c130 T(pthread_mutexattr_settype(&a, PTHREAD_MUTEX_ERRORCHECK)); in test_mutexattr()
132 if (i != PTHREAD_MUTEX_ERRORCHECK) in test_mutexattr()
133 …("setting error check mutex type failed failed: got %d, wanted %d\n", i, PTHREAD_MUTEX_ERRORCHECK); in test_mutexattr()
146 i = test_relock(PTHREAD_MUTEX_ERRORCHECK); in main()
153 i = test_unlock(PTHREAD_MUTEX_ERRORCHECK); in main()
160 i = test_unlock_other(PTHREAD_MUTEX_ERRORCHECK); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
D2-3.c78 #define PTHREAD_MUTEX_ERRORCHECK 0 macro
93 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}, {
97 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}, {
103 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
115 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
125 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
133 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
215 if (td->mtype == PTHREAD_MUTEX_ERRORCHECK) { in child()
D1-2.c95 #define PTHREAD_MUTEX_ERRORCHECK 0 macro
110 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}, {
114 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}, {
120 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
132 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
142 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
150 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
Dstress.c95 #define PTHREAD_MUTEX_ERRORCHECK 0 macro
112 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
121 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
132 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
146 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
159 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
172 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
Dstress2.c95 #define PTHREAD_MUTEX_ERRORCHECK 0 macro
112 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
121 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
132 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
146 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
159 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
172 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
Dstress1.c120 #define PTHREAD_MUTEX_ERRORCHECK 0 macro
137 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
146 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
157 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
171 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
184 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
197 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
D1-2.c109 #define PTHREAD_MUTEX_ERRORCHECK 0 macro
126 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
135 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
146 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
160 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
173 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
186 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-2.c111 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
120 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
131 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
145 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
158 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
171 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
D2-3.c146 if ((data.type == PTHREAD_MUTEX_ERRORCHECK) in clnp3()
231 0, 0, PTHREAD_MUTEX_ERRORCHECK, "Errorcheck mutex"} in main()
238 1, 0, PTHREAD_MUTEX_ERRORCHECK, in main()
244 1, 1, PTHREAD_MUTEX_ERRORCHECK, in main()
250 0, 1, PTHREAD_MUTEX_ERRORCHECK, "Errorcheck pshared mutex"} in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D2-7.c84 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
93 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
104 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
118 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
131 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
144 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
D2-4.c83 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
92 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
103 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
117 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
130 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
143 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
D4-2.c82 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
91 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
102 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
116 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
129 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
142 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
D2-6.c125 if ((data.type == PTHREAD_MUTEX_ERRORCHECK) in clnp3()
222 0, 0, PTHREAD_MUTEX_ERRORCHECK, "Errorcheck mutex"} in main()
229 1, 0, PTHREAD_MUTEX_ERRORCHECK, in main()
235 1, 1, PTHREAD_MUTEX_ERRORCHECK, in main()
241 0, 1, PTHREAD_MUTEX_ERRORCHECK, "Errorcheck pshared mutex"} in main()
D2-5.c184 0, 0, PTHREAD_MUTEX_ERRORCHECK, "Errorcheck mutex"}, in main()
189 1, 0, PTHREAD_MUTEX_ERRORCHECK, in main()
193 1, 1, PTHREAD_MUTEX_ERRORCHECK, in main()
198 0, 1, PTHREAD_MUTEX_ERRORCHECK, in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Dstress2.c103 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
112 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
123 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
137 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
150 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
163 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
Dstress1.c127 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
136 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
147 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
161 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
174 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
187 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/
D2-1.c110 #define PTHREAD_MUTEX_ERRORCHECK 0 macro
127 PTHREAD_MUTEX_ERRORCHECK, 0, 0, 0, "Errorcheck mutex"}
136 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 0, "Pshared errorcheck mutex"}
147 PTHREAD_MUTEX_ERRORCHECK, 1, 0, 1,
161 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 1,
174 PTHREAD_MUTEX_ERRORCHECK, 0, 1, 0,
187 PTHREAD_MUTEX_ERRORCHECK, 1, 1, 0,
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/
D1-4.c40 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) { in main()
53 if (type != PTHREAD_MUTEX_ERRORCHECK) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/
D1-1.c57 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) { in main()
66 if (type != PTHREAD_MUTEX_ERRORCHECK) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D4-2.c94 PTHREAD_MUTEX_ERRORCHECK, 0, 0, "Errorcheck mutex"}
105 PTHREAD_MUTEX_ERRORCHECK, 1, 0, "Pshared Errorcheck mutex"}
117 PTHREAD_MUTEX_ERRORCHECK, 1, 1,
D1-2.c96 PTHREAD_MUTEX_ERRORCHECK, 0, 0, "Errorcheck mutex"}
107 PTHREAD_MUTEX_ERRORCHECK, 1, 0, "Pshared Errorcheck mutex"}
119 PTHREAD_MUTEX_ERRORCHECK, 1, 1,
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/
D5-2.c83 PTHREAD_MUTEX_ERRORCHECK, 0, "Errorcheck mutex"}
92 PTHREAD_MUTEX_ERRORCHECK, 1, "Pshared Errorcheck mutex"}
D2-2.c82 PTHREAD_MUTEX_ERRORCHECK, 0, "Errorcheck mutex"}
91 PTHREAD_MUTEX_ERRORCHECK, 1, "Pshared Errorcheck mutex"}
/third_party/musl/src/thread/
Dpthread_mutex_timedlock.c49 if ((type&3) == PTHREAD_MUTEX_ERRORCHECK) return e; in pthread_mutex_timedlock_pi()
78 if ((type&3) == PTHREAD_MUTEX_ERRORCHECK in __pthread_mutex_timedlock()

1234