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

1 2 3

  /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/144-static-field-sigquit/src/
Main.java 21 Thread thread2 = new Thread(new SynchronizedUse()); local
26 thread2.start();
29 thread2.join();
  /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();
  /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/valgrind/exp-bbv/tests/amd64-linux/
clone_test.S 52 jz thread2 # if so, jump to thrad2
69 thread2: label
  /external/valgrind/exp-bbv/tests/x86-linux/
clone_test.S 52 jz thread2 # if so, jump to thrad2
69 thread2: label
  /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);
  /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());
  /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
  /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/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");
  /prebuilts/go/darwin-x86/misc/cgo/testcarchive/
main4.c 105 static void* thread2(void* arg __attribute__ ((unused))) { function
179 i = pthread_create(&tid, NULL, thread2, NULL);
  /prebuilts/go/linux-x86/misc/cgo/testcarchive/
main4.c 105 static void* thread2(void* arg __attribute__ ((unused))) { function
179 i = pthread_create(&tid, NULL, thread2, NULL);
  /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/
1-1.c 95 pthread_t thread0, thread1, thread2; local
208 printf("main: create thread2\n");
209 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) {
210 printf("Error when creating thread2\n");
214 /* we expect thread2 to expire blocking after timeout */
233 printf("thread2 correctly expired at timeout.\n");
237 ("Test FAILED: for thread2, wait is not terminated even when the timer expired\n");
240 printf("Unexpected state for thread2 %d\n", thread_state);
3-1.c 115 pthread_t thread0, thread1, thread2; local
229 printf("main: create thread2\n");
230 if (pthread_create(&thread2, NULL, fn_wr, NULL) != 0) {
231 printf("Error when creating thread2\n");
235 /* we expect thread2 to expire blocking after timeout */
254 printf("thread2 correctly expired at timeout.\n");
257 printf("Test FAILED: for thread2, wait is not terminated "
261 printf("Unexpected state for thread2 %d\n", thread_state);
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...]
  /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/guava/guava-tests/test/com/google/common/util/concurrent/
ExecutionListTest.java 88 Thread thread2 = new Thread(execute); local
90 thread2.start();
94 thread2.join();
  /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();
  /external/boringssl/src/crypto/
thread_test.c 107 thread_t thread1, thread2; local
109 !run_thread(&thread2, call_once_thread) ||
111 !wait_for_thread(thread2)) {
  /external/webrtc/webrtc/base/
logging_unittest.cc 105 LogThread thread1, thread2, thread3; local
107 thread2.Start();

Completed in 432 milliseconds

1 2 3