Lines Matching refs:tid
60 pthread_t tid[2];
64 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWlockWW1, nullptr), 0) << "> return errno";
65 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWlockWW2, nullptr), 0) << "> return errno";
67 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
68 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
102 pthread_t tid[2];
106 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWlockWR1, nullptr), 0) << "> return errno";
107 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWlockWR2, nullptr), 0) << "> return errno";
109 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
110 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
144 pthread_t tid[2];
148 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWlockRR1, nullptr), 0) << "> return errno";
149 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWlockRR2, nullptr), 0) << "> return errno";
151 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
152 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
186 pthread_t tid[2];
190 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWlockRW1, nullptr), 0) << "> return errno";
191 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWlockRW2, nullptr), 0) << "> return errno";
193 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
194 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
227 pthread_t tid[2];
231 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWtrylockWR1, nullptr), 0) << "> return errno";
232 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWtrylockWR2, nullptr), 0) << "> return errno";
234 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
235 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
268 pthread_t tid[2];
272 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWtrylockRW1, nullptr), 0) << "> return errno";
273 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWtrylockRW2, nullptr), 0) << "> return errno";
275 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
276 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
312 pthread_t tid[2];
316 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadTimdNoOutRWlockWR1, nullptr), 0) << "> return errno";
317 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadTimdNoOutRWlockWR2, nullptr), 0) << "> return errno";
319 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
320 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
362 pthread_t tid[2];
366 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadTimdOutRWlockWR1, nullptr), 0) << "> return errno";
367 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadTimdOutRWlockWR2, nullptr), 0) << "> return errno";
369 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
370 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
412 pthread_t tid[2];
416 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadTimdOutRWlockWW1, nullptr), 0) << "> return errno";
417 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadTimdOutRWlockWW2, nullptr), 0) << "> return errno";
419 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
420 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";
456 pthread_t tid[2];
460 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadTimdNoOutRWlockWW1, nullptr), 0) << "> return errno";
461 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadTimdNoOutRWlockWW2, nullptr), 0) << "> return errno";
463 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno";
464 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno";