/aosp12/bionic/tests/ |
H A D | pthread_test.cpp | 50 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 D | pthread_dlfcn_test.cpp | 45 TEST(pthread, pthread_atfork_with_dlclose) { in TEST() argument 91 TEST(pthread, pthread_atfork_child_with_dlclose) { in TEST() argument
|
H A D | android_unsafe_frame_pointer_chase_test.cpp | 96 TEST(android_unsafe_frame_pointer_chase, pthread) { in TEST() argument
|
/aosp12/art/runtime/jni/ |
H A D | java_vm_ext_test.cc | 88 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 D | phNxpNciHal_NfcDepSWPrio.cc | 129 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 D | phNxpNciHal_NfcDepSWPrio.cc | 129 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 D | jni_daemon_thread.cc | 56 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 D | thread.cc | 44 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 D | mutex_test.cc | 122 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 D | BUILD.gn | 291 "pthread", 365 "pthread", 401 "pthread",
|
/aosp12/system/bt/test/suite/ |
H A D | BUILD.gn | 44 "pthread",
|
/aosp12/system/bt/vendor_libs/test_vendor_lib/types/ |
H A D | BUILD.gn | 50 "pthread",
|
/aosp12/art/runtime/ |
H A D | runtime_callbacks_test.cc | 218 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 D | elf-tls.md | 618 * 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 D | status.md | 158 * <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 D | BUILD.gn | 51 "pthread",
|
/aosp12/system/bt/common/ |
H A D | BUILD.gn | 66 "pthread",
|
/aosp12/system/bt/btcore/ |
H A D | BUILD.gn | 64 "pthread",
|
/aosp12/system/bt/device/ |
H A D | BUILD.gn | 62 "pthread",
|
/aosp12/system/bt/hci/ |
H A D | BUILD.gn | 78 "pthread",
|
/aosp12/system/bt/osi/ |
H A D | BUILD.gn | 100 "pthread",
|
/aosp12/system/bt/main/ |
H A D | BUILD.gn | 116 "pthread",
|
/aosp12/system/core/libutils/ |
H A D | Threads.cpp | 852 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 D | BUILD.gn | 122 "pthread",
|
/aosp12/art/test/004-JniTest/ |
H A D | jni_test.cc | 75 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()
|