/external/valgrind/drd/tests/ |
std_thread2.supp | 12 pthread_create 14 fun:pthread_create@@GLIBC_2.2* 17 pthread_create 20 fun:pthread_create@@GLIBC_2.2*
|
pth_create_glibc_2_0.c | 2 * Test program that invokes pthread_create@GLIBC_2.0(). 4 * Note: pthread_create@GLIBC_2.0() is only available in 32-bit glibc versions, 16 __asm__(".symver pthread_create_glibc_2_0, pthread_create@GLIBC_2.0"); 33 fprintf(stderr, "pthread_create() failed.\n");
|
pth_cleanup_handler.c | 49 if (pthread_create(&pt1, NULL, f, NULL) != 0) 51 fprintf(stderr, "pthread_create()\n"); 54 if (pthread_create(&pt2, NULL, f, NULL) != 0) 56 fprintf(stderr, "pthread_create()\n");
|
/external/valgrind/none/tests/ |
pth_exit.c | 14 pthread_create(&a, NULL, th, NULL); 15 pthread_create(&a, NULL, th, NULL); 16 pthread_create(&a, NULL, th, NULL); 17 pthread_create(&a, NULL, th, NULL);
|
/external/valgrind/helgrind/tests/ |
hg04_race.c | 19 pthread_create(&a, NULL, th, NULL); 21 pthread_create(&b, NULL, th, NULL);
|
hg05_race2.c | 27 pthread_create(&a, NULL, th, &foo); 29 pthread_create(&b, NULL, th, &foo);
|
hg06_readshared.c | 24 pthread_create(&a, NULL, t1, NULL); 25 pthread_create(&b, NULL, t2, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
12-1.c | 8 * Test pthread_create() 10 * If success, pthread_create() returns zero. 13 * 1. Create a thread using pthread_create(), passing to it all valid values. 33 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 35 printf("Test FAILED: pthread_create(): %d %s\n",
|
4-1.c | 8 * Test upon successful completion, pthread_create() shall store the ID of the 12 * 1. Create a thread using pthread_create() 13 * 2. Save the thread ID resulting from pthread_create() 16 * 4. These 2 values should be equal. (i.e. the one from pthread_create() 33 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 35 fprintf(stderr, "pthread_create(): %s\n", strerror(ret)); 46 * pthread_create() is equal, then the test passes. */
|
1-2.c | 8 * Test that pthread_create() creates a new thread with attributes specified 12 * 1. Create a thread using pthread_create() 15 * an error code. This would mean that pthread_create() did not create 41 ret = pthread_create(&new_th, NULL, a_thread_func, NULL); 43 fprintf(stderr, "pthread_create(): %s\n", strerror(ret));
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
pthread_create_version.cc | 2 // Regression test for the versioned pthread_create interceptor on linux/i386. 4 // pthread_create is intercepted; dlsym always returns the oldest version. 5 // This results in a crash inside pthread_create in libc. 19 pthread_create(&t, &attr, ThreadFunc, nullptr);
|
/prebuilts/go/darwin-x86/src/runtime/cgo/ |
libcgo_unix.h | 6 * Call pthread_create, retrying on EAGAIN. 11 * Same as _cgo_try_pthread_create, but passing on the pthread_create function.
|
/prebuilts/go/darwin-x86/src/runtime/testdata/testprogcgo/ |
threadpanic_unix.c | 24 if(pthread_create(&t, 0, die, 0) != 0) 25 printf("pthread_create failed\n");
|
/prebuilts/go/linux-x86/src/runtime/cgo/ |
libcgo_unix.h | 6 * Call pthread_create, retrying on EAGAIN. 11 * Same as _cgo_try_pthread_create, but passing on the pthread_create function.
|
/prebuilts/go/linux-x86/src/runtime/testdata/testprogcgo/ |
threadpanic_unix.c | 24 if(pthread_create(&t, 0, die, 0) != 0) 25 printf("pthread_create failed\n");
|
/external/compiler-rt/test/tsan/ |
static_init5.cc | 20 pthread_create(&t, 0, AsyncInit, (void*)(long)rand()); 35 pthread_create(&t[0], 0, Thread1, 0); 36 pthread_create(&t[1], 0, Thread1, 0);
|
static_init6.cc | 20 pthread_create(&t, 0, AsyncInit, (void*)(long)rand()); 35 pthread_create(&t[0], 0, Thread1, 0); 36 pthread_create(&t[1], 0, Thread1, 0);
|
mmap_stress.cc | 25 if (pthread_create(&th[i], 0, SubWorker, 0)) 26 exit(printf("pthread_create failed: %d\n", errno)); 39 if (pthread_create(&th[i], 0, Worker1, 0)) 40 exit(printf("pthread_create failed: %d\n", errno)); 56 if (pthread_create(&th[i], 0, Worker, 0)) 57 exit(printf("pthread_create failed: %d\n", errno));
|
atomic_stack.cc | 21 pthread_create(&t[0], NULL, Thread1, NULL); 22 pthread_create(&t[1], NULL, Thread2, NULL);
|
default_options.cc | 23 pthread_create(&t[0], NULL, Thread1, NULL); 24 pthread_create(&t[1], NULL, Thread2, NULL);
|
race_on_puts.cc | 21 pthread_create(&th[0], 0, Thread0, 0); 22 pthread_create(&th[1], 0, Thread1, 0);
|
simple_race.c | 21 pthread_create(&t[0], NULL, Thread1, NULL); 22 pthread_create(&t[1], NULL, Thread2, NULL);
|
simple_race.cc | 21 pthread_create(&t[0], NULL, Thread1, NULL); 22 pthread_create(&t[1], NULL, Thread2, NULL);
|
stack_race2.cc | 13 pthread_create(&t, 0, Thread2, &Var); 23 pthread_create(&t, 0, Thread, 0);
|
/external/compiler-rt/test/tsan/Darwin/ |
osspinlock-norace.cc | 20 pthread_create(&t[0], NULL, Thread, NULL); 21 pthread_create(&t[1], NULL, Thread, NULL);
|