/external/compiler-rt/test/tsan/ |
fork_multithreaded3.cc | 23 pthread_t th1, th2; local 24 pthread_create(&th1, 0, racer, &x); 26 pthread_join(th1, 0);
|
fork_deadlock.cc | 26 pthread_t th1, th2; local 27 pthread_create(&th1, 0, incrementer, 0);
|
cond.c | 44 pthread_t th1, th2; local 48 pthread_create(&th1, 0, thr1, 0); 50 pthread_join(th1, 0);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
HandlerThreadTest.java | 37 HandlerThread th1 = new HandlerThread("HandlerThreadTest") { local 47 assertFalse(th1.isAlive()); 48 assertNull(th1.getLooper()); 50 th1.start(); 52 assertTrue(th1.isAlive()); 53 assertNotNull(th1.getLooper()); 73 final Handler h1 = new Handler(th1.getLooper()) {
|
/external/compiler-rt/lib/asan/tests/ |
asan_mac_test.cc | 55 pthread_t th1, th2; local 56 PTHREAD_CREATE(&th1, NULL, CFAllocatorAllocateToGlob, NULL); 57 PTHREAD_JOIN(th1, NULL);
|
/system/extras/tests/bionic/libc/common/ |
test_pthread_mutex.c | 322 pthread_t th1, th2; local 331 pthread_create(&th1, NULL, do_mutex_test_3_t1, s); 339 TZERO(pthread_join(th1, &dummy));
|
test_pthread_rwlock.c | 299 pthread_t th1, th2; local 308 pthread_create(&th1, NULL, do_rwlock_test_rd3_t1, s); 316 TZERO(pthread_join(th1, &dummy));
|
/external/chromium_org/third_party/webrtc/base/ |
thread_unittest.cc | 163 Thread th1; local 164 Socket* socket = th1.socketserver()->CreateAsyncSocket(addr.family(), 166 MessageClient msg_client(&th1, socket); 172 SocketClient sock_client(asocket, addr, &th1, &msg_client); 176 th1.Start(); 180 th1.PostDelayed(100, &msg_client, 0, new TestMessage(1)); 189 th1.Stop();
|