Home
last modified time | relevance | path

Searched refs:pthread (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/bionic/tests/
H A Dpthread_test.cpp50 TEST(pthread, pthread_key_create) { in TEST() argument
58 TEST(pthread, pthread_keys_max) { in TEST() argument
123 TEST(pthread, pthread_key_delete) { in TEST() argument
136 TEST(pthread, pthread_key_fork) { in TEST() argument
162 TEST(pthread, pthread_key_dirty) { in TEST() argument
252 TEST(pthread, pthread_create) { in TEST() argument
313 TEST(pthread, pthread_join_self) { in TEST() argument
368 TEST(pthread, pthread_sigmask) { in TEST() argument
525 TEST(pthread, pthread_kill__0) { in TEST() argument
704 TEST(pthread, pthread_join__race) { in TEST() argument
[all …]
H A Dpthread_dlfcn_test.cpp45 TEST(pthread, pthread_atfork_with_dlclose) { in TEST() argument
91 TEST(pthread, pthread_atfork_child_with_dlclose) { in TEST() argument
H A Dandroid_unsafe_frame_pointer_chase_test.cpp96 TEST(android_unsafe_frame_pointer_chase, pthread) { in TEST() argument
/aosp12/art/runtime/jni/
H A Djava_vm_ext_test.cc88 pthread_t pthread; in TEST_F() local
92 CHECK_PTHREAD_CALL(pthread_create, (&pthread, nullptr, attach_current_thread_callback, in TEST_F()
95 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
100 pthread_t pthread; in TEST_F() local
104 CHECK_PTHREAD_CALL(pthread_create, (&pthread, nullptr, attach_current_thread_callback, in TEST_F()
107 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
113 pthread_t pthread; in TEST_F() local
120 CHECK_PTHREAD_CALL(pthread_create, (&pthread, &attr, attach_current_thread_callback, in TEST_F()
124 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
/aosp12/hardware/nxp/nfc/pn8x/halimpl/hal/
H A DphNxpNciHal_NfcDepSWPrio.cc129 pthread_t pthread; in phNxpNciHal_stop_polling_loop() local
135 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_stop_polling_loop()
154 pthread_t pthread; in phNxpNciHal_resume_polling_loop() local
160 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_resume_polling_loop()
179 pthread_t pthread; in phNxpNciHal_start_polling_loop() local
185 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_start_polling_loop()
490 pthread_t pthread; in phNxpNciHal_select_RF_Discovery() local
498 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_select_RF_Discovery()
/aosp12/hardware/nxp/nfc/snxxx/halimpl/hal/
H A DphNxpNciHal_NfcDepSWPrio.cc129 pthread_t pthread; in phNxpNciHal_stop_polling_loop() local
135 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_stop_polling_loop()
154 pthread_t pthread; in phNxpNciHal_resume_polling_loop() local
160 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_resume_polling_loop()
179 pthread_t pthread; in phNxpNciHal_start_polling_loop() local
185 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_start_polling_loop()
494 pthread_t pthread; in phNxpNciHal_select_RF_Discovery() local
502 if (pthread_create(&pthread, &attr, tmp_thread, (void*)&discover_type) != 0) { in phNxpNciHal_select_RF_Discovery()
/aosp12/art/test/169-threadgroup-jni/
H A Djni_daemon_thread.cc56 pthread_t pthread; in Java_Main_testNativeThread() local
57 int pthread_create_result = pthread_create(&pthread, nullptr, Runner, global_thread_group); in Java_Main_testNativeThread()
59 int pthread_join_result = pthread_join(pthread, nullptr); in Java_Main_testNativeThread()
/aosp12/system/bt/osi/src/
H A Dthread.cc44 pthread_t pthread; member
87 pthread_create(&ret->pthread, NULL, run_thread, &start); in thread_new_sized()
123 pthread_join(thread->pthread, NULL); in thread_join()
179 return !!pthread_equal(pthread_self(), thread->pthread); in thread_is_self()
/aosp12/art/runtime/base/
H A Dmutex_test.cc122 pthread_t pthread; in RecursiveLockWaitTest() local
123 int pthread_create_result = pthread_create(&pthread, nullptr, RecursiveLockWaitCallback, &state); in RecursiveLockWaitTest()
130 EXPECT_EQ(pthread_join(pthread, nullptr), 0); in RecursiveLockWaitTest()
/aosp12/system/bt/stack/
H A DBUILD.gn291 "pthread",
365 "pthread",
401 "pthread",
/aosp12/system/bt/test/suite/
H A DBUILD.gn44 "pthread",
/aosp12/system/bt/vendor_libs/test_vendor_lib/types/
H A DBUILD.gn50 "pthread",
/aosp12/art/runtime/
H A Druntime_callbacks_test.cc218 pthread_t pthread; in TEST_F() local
220 (&pthread, in TEST_F()
227 CHECK_PTHREAD_CALL(pthread_join, (pthread, nullptr), "ThreadLifecycleCallback test shutdown"); in TEST_F()
/aosp12/bionic/docs/
H A Delf-tls.md618 * The Go runtime allocates a thread-local "g" variable on Android by creating a pthread key and
623 suspect the actual platform breakage happened with Android M's [lock-free pthread key
626 creates pthread keys until one of them hits the fixed offset.
632 * Moving the pthread keys before the thread pointer breaks Go-based apps.
756 * 16 isn't enough for the pthread keys, so the Go runtime is still a problem.
757 * Reserving 138 words is enough for existing slots and pthread keys.
816 it is typically zero. After [Bionic's pthread key system was rewritten to be
822 ### Workaround for Go: place pthread keys after the executable's TLS
826 `/system/bin/app_process{32,64}` limits its use of TLS memory, then the pthread keys could be
829 Go scans 384 words from the thread pointer. If there are at most 16 Bionic slots and 130 pthread
[all …]
H A Dstatus.md158 * <pthread.h> `pthread_rwlockattr_getkind_np`/`pthread_rwlockattr_setkind_np`.
183 …* <pthread.h> `pthread_condattr_getclock`, `pthread_condattr_setclock`, `pthread_mutex_timedlock`,…
282 message "attempt to use invalid pthread\_t".
/aosp12/system/bt/types/
H A DBUILD.gn51 "pthread",
/aosp12/system/bt/common/
H A DBUILD.gn66 "pthread",
/aosp12/system/bt/btcore/
H A DBUILD.gn64 "pthread",
/aosp12/system/bt/device/
H A DBUILD.gn62 "pthread",
/aosp12/system/bt/hci/
H A DBUILD.gn78 "pthread",
/aosp12/system/bt/osi/
H A DBUILD.gn100 "pthread",
/aosp12/system/bt/main/
H A DBUILD.gn116 "pthread",
/aosp12/system/core/libutils/
H A DThreads.cpp852 pthread_t pthread = android_thread_id_t_to_pthread(mThread); in getTid() local
853 tid = pthread_gettid_np(pthread); in getTid()
/aosp12/system/bt/service/
H A DBUILD.gn122 "pthread",
/aosp12/art/test/004-JniTest/
H A Djni_test.cc75 pthread_t pthread; in PthreadHelper() local
76 int pthread_create_result = pthread_create(&pthread, nullptr, AttachHelper, in PthreadHelper()
79 int pthread_join_result = pthread_join(pthread, nullptr); in PthreadHelper()

12