[go: nahoru, domu]

Searched refs:pthread_create (Results 1 - 22 of 22) 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));
196 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s));
219 ASSERT_EQ(0, pthread_create(&thread, nullptr, SemWaitEINTRThreadFn, &s));
H A D__cxa_thread_atexit_test.cpp53 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_nop, &msg));
138 ASSERT_EQ(0, pthread_create(&t, nullptr, thread_main, &atexit_call_sequence));
H A Dstack_protector_test.cpp77 ASSERT_EQ(0, pthread_create(&t, NULL, [](void* arg) -> void* {
H A Dpthread_test.cpp168 ASSERT_EQ(0, pthread_create(&t, &attr, DirtyKeyFn, &key));
238 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, NULL));
242 TEST(pthread, pthread_create) {
246 ASSERT_EQ(0, pthread_create(&t, NULL, IdFn, expected_result));
259 ASSERT_EQ(EAGAIN, pthread_create(&t, &attributes, IdFn, NULL));
266 ASSERT_EQ(0, pthread_create(&t1, NULL, spinhelper.GetFunction(), NULL));
280 ASSERT_EQ(0, pthread_create(&t1, NULL, spinhelper.GetFunction(), NULL));
284 ASSERT_EQ(0, pthread_create(&t2, NULL, JoinFn, reinterpret_cast<void*>(t1)));
318 ASSERT_EQ(0, pthread_create(&t, NULL, TestBug37410::thread_fn, reinterpret_cast<void*>(&data)));
384 ASSERT_EQ(0, pthread_create(
[all...]
H A Dstdatomic_test.cpp241 ASSERT_EQ(0, pthread_create(&t1, 0, reader, &a));
242 ASSERT_EQ(0, pthread_create(&t2, 0, writer, &a));
H A Dstdio_ext_test.cpp157 ASSERT_EQ(0, pthread_create(&thread, nullptr,
H A Dsys_socket_test.cpp80 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 Dstdlib_test.cpp234 ASSERT_EQ(0, pthread_create(&t, NULL, TestBug57421_child, reinterpret_cast<void*>(pthread_self())));
H A Dsystem_properties_test.cpp373 ASSERT_EQ(0, pthread_create(&t, NULL, PropertyWaitHelperFn, &flag));
H A Dtime_test.cpp67 ASSERT_EQ(0, pthread_create(&t, &a, gmtime_no_stack_overflow_14313703_fn, NULL));
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 Ddlfcn_test.cpp742 ASSERT_EQ(0, pthread_create(&t, nullptr, ConcurrentDlErrorFn, nullptr));
H A Dunistd_test.cpp474 ASSERT_EQ(0, pthread_create(&t, NULL, GetPidCachingPthreadStartRoutine, NULL));
H A Dstdio_test.cpp552 ASSERT_EQ(0, pthread_create(&t, &a, snprintf_small_stack_fn, nullptr));
/bionic/benchmarks/
H A Dpthread_benchmark.cpp131 pthread_create(&thread, NULL, IdleThread, NULL);
148 pthread_create(&thread, NULL, RunThread, &state);
165 pthread_create(&thread, NULL, ExitThread, &state);
H A Dsemaphore_benchmark.cpp93 pthread_create(&pthread, &attr, BM_semaphore_sem_post_start_thread, &semaphore);
/bionic/libc/bionic/
H A Dposix_timers.cpp158 int rc = pthread_create(&timer->callback_thread, &thread_attributes, __timer_thread_start, timer);
H A Dpthread_create.cpp106 "pthread_create sched_setscheduler call failed: %s", strerror(errno));
123 "pthread_create failed: couldn't allocate %zu-bytes mapped space: %s",
132 "pthread_create failed: couldn't mprotect PROT_NONE %zu-byte stack guard region: %s",
204 // A dummy start routine for pthread_create failures where we've created a thread but aren't
211 int pthread_create(pthread_t* thread_out, pthread_attr_t const* attr, function
267 __libc_format_log(ANDROID_LOG_WARN, "libc", "pthread_create failed: clone failed: %s", strerror(errno));
/bionic/libc/include/
H A Dpthread.h169 int pthread_create(pthread_t*, pthread_attr_t const*, void *(*)(void*), void*) __nonnull((1, 3));
/bionic/libc/
H A DAndroid.mk563 bionic/pthread_create.cpp \

Completed in 188 milliseconds