Searched refs:pthread_create (Results 1 - 23 of 23) sorted by relevance

/bionic/tests/
H A Dbug_26110743_test.cpp50 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 Dsemaphore_test.cpp81 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.cpp48 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 Dleak_test.cpp114 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 Dpthread_test.cpp172 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 Dstack_protector_test.cpp77 ASSERT_EQ(0, pthread_create(&t, NULL, [](void* arg) -> void* {
H A Dstdatomic_test.cpp252 ASSERT_EQ(0, pthread_create(&t1, 0, reader, &a));
253 ASSERT_EQ(0, pthread_create(&t2, 0, writer, &a));
H A Dpty_test.cpp143 ASSERT_EQ(0, pthread_create(&thread, nullptr,
H A Dstdio_ext_test.cpp231 ASSERT_EQ(0, pthread_create(&thread, nullptr,
H A Dsys_socket_test.cpp82 ASSERT_EQ(0, pthread_create(&thread, NULL, ConnectFn, &connect_data));
H A Dthread_local_test.cpp57 int error = pthread_create(&t, nullptr, foo, &data);
H A Dunistd_test.cpp604 ASSERT_EQ(0, pthread_create(&t, NULL, GetPidCachingPthreadStartRoutine, NULL));
623 ASSERT_EQ(0, pthread_create(&t, NULL, GetTidCachingPthreadStartRoutine, &parent_tid));
H A Dstring_test.cpp81 ASSERT_EQ(0, pthread_create(&t, NULL, ConcurrentStrErrorFn, NULL));
147 ASSERT_EQ(0, pthread_create(&t, NULL, ConcurrentStrSignalFn, NULL));
H A Dstdlib_test.cpp367 ASSERT_EQ(0, pthread_create(&t, NULL, TestBug57421_child, reinterpret_cast<void*>(pthread_self())));
H A Dtime_test.cpp105 ASSERT_EQ(0, pthread_create(&t, &a, gmtime_no_stack_overflow_14313703_fn, NULL));
H A Dstdio_test.cpp840 ASSERT_EQ(0, pthread_create(&t, &a, snprintf_small_stack_fn, nullptr));
/bionic/benchmarks/
H A Dsemaphore_benchmark.cpp94 pthread_create(&pthread, &attr, BM_semaphore_sem_post_start_thread, &semaphore);
H A Dpthread_benchmark.cpp181 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 Dposix_timers.cpp155 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer);
H A Dpthread_create.cpp64 "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 Dpthread.h140 int pthread_create(pthread_t* __pthread_ptr, pthread_attr_t const* __attr, void* (*__start_routine)(void*), void*);
/bionic/tests/headers/posix/
H A Dpthread_h.c130 FUNCTION(pthread_create, int (*f)(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*));
/bionic/tools/versioner/current/
H A Dpthread.h140 int pthread_create(pthread_t* __pthread_ptr, pthread_attr_t const* __attr, void* (*__start_routine)(void*), void*);

Completed in 218 milliseconds