/art/test/144-static-field-sigquit/src/ |
Main.java | 20 Thread thread1 = new Thread(new SigQuit()); local 24 thread1.start(); 28 thread1.join();
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
MonitorTestCase.java | 55 private TestThread<Monitor> thread1; field in class:MonitorTestCase 65 tearDownStack.addTearDown(thread1 = new TestThread<Monitor>(monitor, "TestThread #1")); 102 thread1.callAndAssertReturns(enter()); 104 thread1.callAndAssertReturns(leave()); 109 thread1.callAndAssertReturns(true, tryEnter()); 111 thread1.callAndAssertReturns(true, tryEnter()); 113 thread1.callAndAssertReturns(leave()); 115 thread1.callAndAssertReturns(leave()); 121 thread1.callAndAssertReturns(enter()); 123 thread1.callAndAssertReturns(enter()) [all...] |
/external/valgrind/drd/tests/ |
rwlock_race.c | 37 pthread_t thread1; local 47 pthread_create(&thread1, 0, thread_func, 0); 49 pthread_join(thread1, 0);
|
std_atomic.cpp | 33 pthread_t thread1; local 41 err = pthread_create(&thread1, NULL, &func1, NULL); 48 err = pthread_join(thread1, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/ |
3-2.c | 34 pthread_t thread1; variable 75 if (pthread_create(&thread1, NULL, a_thread_func, NULL) != 0) { 81 pthread_join(thread1, NULL);
|
/external/libcap-ng/libcap-ng-0.7/src/test/ |
thread_test.c | 9 pthread_t thread1, thread2; variable 15 printf("thread1 filled capabilities\n"); 49 pthread_create(&thread1, NULL, thread1_main, NULL);
|
/art/test/033-class-init-deadlock/src/ |
Main.java | 31 Thread thread1, thread2; local 34 thread1 = new Thread() { public void run() { new A(); } }; 36 thread1.start(); 44 thread1.interrupt();
|
/art/test/123-compiler-regressions-mt/src/ |
Main.java | 33 test.thread1(); 47 test.thread1(); 62 void thread1() { method in class:B17689750TestVolatile 84 void thread1() { method in class:B17689750TestMonitor
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
WatchdogDiagnosticsTest.java | 107 TestThread1 thread1 = new TestThread1(heldLock1, heldLock2); local 117 thread1.start(); 118 while(!thread1.inB) { 123 while (thread1.getState() == Thread.State.RUNNABLE) { 135 WatchdogDiagnostics.printAnnotatedStack(thread1, print); 176 thread1.join();
|
/system/extras/memory_replay/tests/ |
ThreadsTest.cpp | 48 Thread* thread1 = threads.CreateThread(900); local 49 ASSERT_TRUE(thread1 != nullptr); 61 ASSERT_EQ(thread1, found_thread1); 69 thread1->CreateAction(0x1234, "thread_done", ""); 73 thread1->SetPending(); 74 threads.Finish(thread1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
1-1.c | 27 pthread_t thread1; variable 36 pthread_cancel(thread1); 45 fprintf(stderr, "Thread1 failed to acquire mutex\n"); 48 fprintf(stderr, "Thread1 started\n"); 51 fprintf(stderr, "Thread1 is waiting for the cond\n"); 58 fprintf(stderr, "Thread1 wakened\n"); 60 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 81 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { 85 while (!t1_start) /* wait for thread1 started */ 106 fprintf(stderr, "Time to wake up thread1 by signaling a condition\n") [all...] |
2-1.c | 27 pthread_t thread1; variable 36 pthread_cancel(thread1); 45 fprintf(stderr, "Thread1 failed to acquire the mutex\n"); 48 fprintf(stderr, "Thread1 started\n"); 51 fprintf(stderr, "Thread1 is waiting for the cond\n"); 58 fprintf(stderr, "Thread1 wakened\n"); 60 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 66 "Thread1 should not be able to lock the mutex again\n"); 70 fprintf(stderr, "Thread1 failed to trylock the mutex (as expected)\n"); 73 fprintf(stderr, "Thread1 failed to release the mutex\n") [all...] |
3-1.c | 25 pthread_t thread1; variable 34 pthread_cancel(thread1); 43 fprintf(stderr, "Thread1 failed to acquire the mutex\n"); 46 fprintf(stderr, "Thread1 started\n"); 49 fprintf(stderr, "Thread1 is waiting for the cond\n"); 64 fprintf(stderr, "Thread1 waked up before being notified\n"); 67 fprintf(stderr, "Thread1 wakened up and got returned value 0\n"); 70 fprintf(stderr, "Thread1 failed to release the mutex\n"); 73 fprintf(stderr, "Thread1 released the mutex\n"); 91 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) [all...] |
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue5337.go | 13 static void *thread1(void *p) { 20 pthread_create(&tid, 0, thread1, NULL);
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue5337.go | 13 static void *thread1(void *p) { 20 pthread_create(&tid, 0, thread1, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
4-1.c | 39 fprintf(stderr, "Thread1 failed to acquire the mutex\n"); 42 fprintf(stderr, "Thread1 started\n"); 51 fprintf(stderr, "Thread1 is waiting for the cond for %d seconds\n", 55 fprintf(stderr, "Thread1 stops waiting when time is out\n"); 69 pthread_t thread1; local 81 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { 88 pthread_join(thread1, &th_ret);
|
1-1.c | 42 fprintf(stderr, "Thread1: Fail to acquire mutex\n"); 45 fprintf(stderr, "Thread1 started\n"); 56 fprintf(stderr, "Thread1 is waiting for the cond\n"); 61 "Thread1 stops waiting when time is out\n"); 70 fprintf(stderr, "Thread1 wakened up\n"); 72 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 82 pthread_t thread1; local 93 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { 97 while (!t1_start) /* wait for thread1 started */ 111 fprintf(stderr, "Time to wake up thread1 by signaling a condition\n") [all...] |
2-1.c | 49 fprintf(stderr, "Thread1 failed to acquire the mutex\n"); 52 fprintf(stderr, "Thread1 started\n"); 62 fprintf(stderr, "Thread1 is waiting for the cond\n"); 67 "Thread1 stops waiting when time is out\n"); 76 fprintf(stderr, "Thread1 wakened\n"); 78 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 84 "Thread1 should not be able to lock the mutex again\n"); 88 fprintf(stderr, "Thread1 failed to trylock the mutex (as expected)\n"); 91 fprintf(stderr, "Thread1 failed to release the mutex\n"); 95 fprintf(stderr, "Thread1 released the mutex\n") 101 pthread_t thread1; local [all...] |
2-2.c | 43 fprintf(stderr, "Thread1 started\n"); 47 fprintf(stderr, "Thread1 failed to acquire the mutex\n"); 65 fprintf(stderr, "Thread1 is waiting for the cond\n"); 68 fprintf(stderr, "Thread1 stops waiting when time is out\n"); 80 pthread_t thread1; local 92 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { 97 while (!t1_start) /* wait for thread1 started */ 115 if (pthread_join(thread1, &th_ret) != 0) {
|
2-3.c | 43 fprintf(stderr, "Thread1 failed to acquire the mutex\n"); 46 fprintf(stderr, "Thread1 started\n"); 56 fprintf(stderr, "Thread1 is waiting for the cond\n"); 59 fprintf(stderr, "Thread1 stops waiting when time is out\n"); 71 pthread_t thread1; local 84 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) { 94 if (pthread_join(thread1, (void *)&th_ret) != 0) {
|
3-1.c | 42 fprintf(stderr, "Thread1 failed to acquire the mutex\n"); 45 fprintf(stderr, "Thread1 started\n"); 55 fprintf(stderr, "Thread1 is waiting for the cond\n"); 60 "Thread1 stops waiting when time is out\n"); 71 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 74 fprintf(stderr, "Thread1 wakened and got returned value 0\n"); 77 fprintf(stderr, "Thread1 failed to release the mutex\n"); 80 fprintf(stderr, "Thread1 released the mutex\n"); 86 pthread_t thread1; local 97 if (pthread_create(&thread1, NULL, t1_func, NULL) != 0) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
2-1.c | 91 pthread_t thread1; local 109 if (pthread_create(&thread1, NULL, fn_rd, NULL) != 0) { 110 printf("Error creating thread1\n"); 144 if (pthread_join(thread1, NULL) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
2-1.c | 96 pthread_t thread1; local 113 if (pthread_create(&thread1, NULL, fn, NULL) != 0) { 152 if (pthread_join(thread1, NULL) != 0) {
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_structs.h | 80 struct thread1 struct 137 } thread1; member in struct:brw_clip_unit_state 378 struct thread1 thread1; member in struct:brw_sf_unit_state 445 struct thread1 thread1; member in struct:brw_gs_unit_state 489 struct thread1 thread1; member in struct:brw_vs_unit_state 524 struct thread1 thread1; member in struct:brw_wm_unit_state [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
ActivityManagerInternalTest.java | 108 final CustomThread thread1 = new CustomThread(record1.networkStateLock); local 109 thread1.startAndWait("Unexpected state for " + record1); 120 thread1.assertTerminated("Unexpected state for " + record1); 122 thread1.mNotified); 124 thread1.assertWaiting("Unexpected state for " + record1); 125 thread1.interrupt();
|