/bionic/tests/ |
H A D | bug_26110743_test.cpp | 50 ASSERT_EQ(0, pthread_create(&t, NULL, ProcSelfReadlink, NULL)); 65 ASSERT_EQ(0, pthread_create(&t, NULL, ProcSelfReadlink, NULL)); 94 ASSERT_EQ(0, pthread_create(&t, NULL, ProcTaskFdReadlink, NULL)); 109 ASSERT_EQ(0, pthread_create(&t, NULL, ProcTaskFdReadlink, NULL));
|
H A D | semaphore_test.cpp | 81 ASSERT_EQ(0, pthread_create(&t1, NULL, SemWaitThreadFn, &s)); 82 ASSERT_EQ(0, pthread_create(&t2, NULL, SemWaitThreadFn, &s)); 83 ASSERT_EQ(0, pthread_create(&t3, NULL, SemWaitThreadFn, &s)); 210 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s)); 233 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s));
|
H A D | __cxa_thread_atexit_test.cpp | 48 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_nop, &msg)); 122 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_main, &atexit_call_sequence));
|
H A D | leak_test.cpp | 114 ASSERT_EQ(0, pthread_create(&thread, nullptr, [](void*) -> void* { return nullptr; }, nullptr)); 146 ASSERT_EQ(0, pthread_create(&thread, nullptr, thread_function, &threads[i]));
|
H A D | pthread_test.cpp | 172 ASSERT_EQ(0, pthread_create(&t, &attr, DirtyKeyFn, &key)); 244 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, NULL)); 248 TEST(pthread, pthread_create) { 252 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, expected_result)); 265 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, NULL)); 272 ASSERT_EQ(0, pthread_create(&t1, NULL, spin_helper.GetFunction(), NULL)); 286 ASSERT_EQ(0, pthread_create(&t1, NULL, spin_helper.GetFunction(), NULL)); 290 ASSERT_EQ(0, pthread_create(&t2, NULL, JoinFn, reinterpret_cast<void*>(t1))); 324 ASSERT_EQ(0, pthread_create(&t, NULL, TestBug37410::thread_fn, reinterpret_cast<void*>(&data))); 390 ASSERT_EQ(0, pthread_create( [all...] |
H A D | stack_protector_test.cpp | 77 ASSERT_EQ(0, pthread_create(&t, NULL, [](void* arg) -> void* {
|
H A D | stdatomic_test.cpp | 252 ASSERT_EQ(0, pthread_create(&t1, 0, reader, &a)); 253 ASSERT_EQ(0, pthread_create(&t2, 0, writer, &a));
|
H A D | pty_test.cpp | 143 ASSERT_EQ(0, pthread_create(&thread, nullptr,
|
H A D | stdio_ext_test.cpp | 231 ASSERT_EQ(0, pthread_create(&thread, nullptr,
|
H A D | sys_socket_test.cpp | 82 ASSERT_EQ(0, pthread_create(&thread, NULL, ConnectFn, &connect_data));
|
H A D | thread_local_test.cpp | 57 int error = pthread_create(&t, nullptr, foo, &data);
|
H A D | unistd_test.cpp | 604 ASSERT_EQ(0, pthread_create(&t, NULL, GetPidCachingPthreadStartRoutine, NULL)); 623 ASSERT_EQ(0, pthread_create(&t, NULL, GetTidCachingPthreadStartRoutine, &parent_tid));
|
H A D | string_test.cpp | 81 ASSERT_EQ(0, pthread_create(&t, NULL, ConcurrentStrErrorFn, NULL)); 147 ASSERT_EQ(0, pthread_create(&t, NULL, ConcurrentStrSignalFn, NULL));
|
H A D | stdlib_test.cpp | 367 ASSERT_EQ(0, pthread_create(&t, NULL, TestBug57421_child, reinterpret_cast<void*>(pthread_self())));
|
H A D | time_test.cpp | 105 ASSERT_EQ(0, pthread_create(&t, &a, gmtime_no_stack_overflow_14313703_fn, NULL));
|
H A D | stdio_test.cpp | 840 ASSERT_EQ(0, pthread_create(&t, &a, snprintf_small_stack_fn, nullptr));
|
/bionic/benchmarks/ |
H A D | semaphore_benchmark.cpp | 94 pthread_create(&pthread, &attr, BM_semaphore_sem_post_start_thread, &semaphore);
|
H A D | pthread_benchmark.cpp | 181 pthread_create(&thread, NULL, IdleThread, NULL); 196 pthread_create(&thread, NULL, RunThread, &state); 209 pthread_create(&thread, NULL, ExitThread, nullptr);
|
/bionic/libc/bionic/ |
H A D | posix_timers.cpp | 155 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer);
|
H A D | pthread_create.cpp | 64 "pthread_create failed: couldn't allocate TLS: %s", strerror(errno)); 75 "pthread_create failed: couldn't mprotect TLS: %s", strerror(errno)); 132 "pthread_create sched_getscheduler failed: %s", strerror(errno)); 137 "pthread_create sched_getparam failed: %s", strerror(errno)); 153 "pthread_create sched_setscheduler(%d, {%d}) call failed: %s", policy, 173 "pthread_create failed: couldn't allocate %zu-bytes mapped space: %s", 182 "pthread_create failed: couldn't mprotect PROT_NONE %zu-byte stack guard region: %s", 260 // A dummy start routine for pthread_create failures where we've created a thread but aren't 269 int pthread_create(pthread_t* thread_out, pthread_attr_t const* attr, function 322 async_safe_format_log(ANDROID_LOG_WARN, "libc", "pthread_create faile [all...] |
/bionic/libc/include/ |
H A D | pthread.h | 140 int pthread_create(pthread_t* __pthread_ptr, pthread_attr_t const* __attr, void* (*__start_routine)(void*), void*);
|
/bionic/tests/headers/posix/ |
H A D | pthread_h.c | 130 FUNCTION(pthread_create, int (*f)(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*));
|
/bionic/tools/versioner/current/ |
H A D | pthread.h | 140 int pthread_create(pthread_t* __pthread_ptr, pthread_attr_t const* __attr, void* (*__start_routine)(void*), void*);
|