HomeSort by relevance Sort by last modified time
    Searched refs:thread2 (Results 1 - 25 of 74) sorted by null

1 2 3

  /art/test/144-static-field-sigquit/src/
Main.java 21 Thread thread2 = new Thread(new SynchronizedUse()); local
26 thread2.start();
29 thread2.join();
  /external/valgrind/drd/tests/
rwlock_race.c 38 pthread_t thread2; local
48 pthread_create(&thread2, 0, thread_func, 0);
50 pthread_join(thread2, 0);
std_atomic.cpp 34 pthread_t thread2; local
44 err = pthread_create(&thread2, NULL, &func2, NULL);
51 err = pthread_join(thread2, NULL);
std_list.cpp 81 pthread_t thread2; local
89 err = pthread_create(&thread2, NULL, &func2, &instance2);
96 err = pthread_join(thread2, NULL);
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
MonitorTestCase.java 56 private TestThread<Monitor> thread2; field in class:MonitorTestCase
66 tearDownStack.addTearDown(thread2 = new TestThread<Monitor>(monitor, "TestThread #2"));
103 thread2.callAndAssertBlocks(enter());
105 thread2.assertPriorCallReturns(enter());
110 thread2.callAndAssertReturns(false, tryEnter());
112 thread2.callAndAssertReturns(false, tryEnter());
114 thread2.callAndAssertReturns(false, tryEnter());
116 thread2.callAndAssertReturns(true, tryEnter());
136 thread2.callAndAssertReturns(enterCount != 0, "isOccupied");
137 thread2.callAndAssertReturns(false, "isOccupiedByCurrentThread")
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/logging/
OldLogRecordTest.java 60 // Create and start the thread2
61 MockThread thread2 = new MockThread(); local
62 thread2.start();
64 thread2.join();
71 assertTrue(lr.getThreadID() != thread2.lr.getThreadID());
72 assertTrue(thread.lr.getThreadID() != thread2.lr.getThreadID());
  /external/libcap-ng/libcap-ng-0.7/src/test/
thread_test.c 9 pthread_t thread1, thread2; variable
32 printf("thread2 getting capabilities\n");
50 pthread_create(&thread2, NULL, thread2_main, NULL);
  /art/test/033-class-init-deadlock/src/
Main.java 31 Thread thread1, thread2; local
35 thread2 = new Thread() { public void run() { new B(); } };
37 thread2.start();
45 thread2.interrupt();
  /art/test/123-compiler-regressions-mt/src/
Main.java 37 test.thread2();
51 test.thread2();
68 void thread2() { method in class:B17689750TestVolatile
98 void thread2() { method in class:B17689750TestMonitor
  /system/extras/memory_replay/tests/
ThreadsTest.cpp 52 Thread* thread2 = threads.CreateThread(901); local
53 ASSERT_TRUE(thread2 != nullptr);
64 ASSERT_EQ(thread2, found_thread2);
70 thread2->CreateAction(0x1235, "thread_done", "");
81 thread2->SetPending();
82 threads.Finish(thread2);
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_structs.h 97 struct thread2 struct
139 struct thread2 thread2; member in struct:brw_clip_unit_state
379 struct thread2 thread2; member in struct:brw_sf_unit_state
446 struct thread2 thread2; member in struct:brw_gs_unit_state
490 struct thread2 thread2; member in struct:brw_vs_unit_state
525 struct thread2 thread2 member in struct:brw_wm_unit_state
    [all...]
brw_vs_state.c 86 vs->thread2.scratch_space_base_pointer =
88 vs->thread2.per_thread_scratch_space =
91 vs->thread2.scratch_space_base_pointer = 0;
92 vs->thread2.per_thread_scratch_space = 0;
176 offsetof(struct brw_vs_unit_state, thread2),
178 vs->thread2.per_thread_scratch_space,
brw_wm_state.c 136 wm->thread2.scratch_space_base_pointer =
138 wm->thread2.per_thread_scratch_space =
141 wm->thread2.scratch_space_base_pointer = 0;
142 wm->thread2.per_thread_scratch_space = 0;
228 offsetof(struct brw_wm_unit_state, thread2),
230 wm->thread2.per_thread_scratch_space,
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_trywrlock/
1-1.c 68 pthread_t thread1, thread2; local
142 printf("main: create thread2\n");
143 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) {
144 printf("main: Error creating thread2\n");
148 /* We do not expect thread2 to block */
155 ("Test FAILED: thread2 should not block on pthread_rwlock_trywrlock()\n");
163 printf("Test FAILED: thread2 should get EBUSY\n");
174 if (pthread_join(thread2, NULL) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
1-1.c 75 pthread_t thread1, thread2; local
153 printf("main: create thread2\n");
154 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) {
155 printf("main: Error creating thread2\n");
159 /* Thread2 should block */
165 printf("Test FAILED: thread2 should have block\n");
168 printf("thread2 in unexpected state %d\n", thread_state);
179 if (pthread_join(thread2, NULL) != 0) {
180 printf("main: Error joining thread2\n");
  /toolchain/binutils/binutils-2.25/gold/testsuite/
tls_test_main.cc 141 pthread_t thread2; local
142 err = pthread_create(&thread2, NULL, thread_routine, &sems2);
167 err = pthread_join(thread2, &thread_val);
  /external/elfutils/tests/
dwfl-proc-attach.c 45 static pthread_t thread2; variable
82 if ((err = pthread_create (&thread2, NULL, sleeper, NULL)) != 0)
83 error (-1, err, "Couldn't create thread2");
  /external/libmojo/mojo/edk/system/
awakable_list_unittest.cc 176 test::SimpleWaiterThread thread2(&result2, &context2);
177 awakable_list.Add(thread2.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 2);
178 thread2.Start();
193 test::SimpleWaiterThread thread2(&result2, &context2);
194 awakable_list.Add(thread2.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 4);
195 thread2.Start();
214 test::SimpleWaiterThread thread2(&result2, &context2);
215 awakable_list.Add(thread2.waiter(), MOJO_HANDLE_SIGNAL_WRITABLE, 6);
216 thread2.Start();
220 awakable_list.Remove(thread2.waiter())
    [all...]
  /external/libchrome/sandbox/linux/services/
thread_helpers_unittests.cc 116 base::Thread thread2("sandbox_tests");
122 ThreadHelpers::StartThreadAndWatchProcFS(proc_fd.fd(), &thread2));
126 thread2.Stop();
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
5-1.c 94 printf("thread2: Error at pthread_rwlock_init\n");
104 printf("thread2: attempt timed read-lock\n");
107 printf("thread2: timed read-lock expired\n");
110 printf("thread2: acquired read lock\n");
112 printf("thread2: unlock read lock\n");
114 printf("thread2: failed to release read lock\n");
118 printf("thread2: Error in pthread_rwlock_timedrdlock().\n");
123 printf("thread2: Error at pthread_rwlockattr_destroy()\n");
135 pthread_t thread1, thread2; local
174 printf("main: create thread2\n")
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
5-1.c 101 printf("thread2: Error at pthread_rwlock_init\n");
110 printf("thread2: attempt timed lock for writing\n");
113 printf("thread2: timer expired\n");
116 printf("thread2: acquired write lock\n");
118 printf("thread2: unlock write lock\n");
120 printf("thread2: failed to release write lock\n");
124 printf("thread2: Error in pthread_rwlock_timedwrlock().\n");
129 printf("thread2: Error at pthread_rwlock_destroy()\n");
141 pthread_t thread1, thread2; local
179 printf("main: create thread2\n")
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
InetAddressThreadTest.java 140 threadsafeTestThread thread2 = new threadsafeTestThread("2", local
151 thread2.start();
156 thread2.join();
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
ActivityManagerInternalTest.java 110 final CustomThread thread2 = new CustomThread(record2.networkStateLock); local
111 thread2.startAndWait("Unexpected state for " + record2);
127 thread2.assertWaiting("Unexpected state for " + record2);
128 thread2.interrupt();
  /external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
context_switch.c 149 void *(*thread2)(void *); member in struct:actions
198 .thread2 = pipe_thread2,
237 .thread2 = yield_thread2,
352 .thread2 = futex_thread2,
465 start_fn(actions->thread2, NULL, cpu2);
  /external/boringssl/src/crypto/
thread_test.cc 119 thread_t thread1, thread2; local
121 ASSERT_TRUE(run_thread(&thread2, call_once_thread));
123 ASSERT_TRUE(wait_for_thread(thread2));

Completed in 1972 milliseconds

1 2 3