Home
last modified time | relevance | path

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

/bionic/tests/
Dpthread_test.cpp50 TEST(pthread, pthread_key_create) { in TEST() argument
58 TEST(pthread, pthread_keys_max) { in TEST() argument
63 TEST(pthread, sysconf_SC_THREAD_KEYS_MAX_eq_PTHREAD_KEYS_MAX) { in TEST() argument
68 TEST(pthread, pthread_key_many_distinct) { in TEST() argument
96 TEST(pthread, pthread_key_not_exceed_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
186 TEST(pthread, static_pthread_key_used_before_creation) { in TEST() argument
252 TEST(pthread, pthread_create) { in TEST() argument
[all …]
Dpthread_dlfcn_test.cpp45 TEST(pthread, pthread_atfork_with_dlclose) { in TEST() argument
91 TEST(pthread, pthread_atfork_child_with_dlclose) { in TEST() argument
Dandroid_unsafe_frame_pointer_chase_test.cpp96 TEST(android_unsafe_frame_pointer_chase, pthread) { in TEST() argument
/bionic/docs/
Delf-tls.md618 * The Go runtime allocates a thread-local "g" variable on Android by creating a pthread key and
620 * On arm32/arm64, it creates a pthread key, sets it to a magic value, then scans forward from
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.
636 [arm32][go-darwin-arm32]/[arm64][go-darwin-arm64] Darwin, Go scans for pthread keys like it
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.
809 small positive offset from TP (within the first 384 words), it will think it has found the pthread
813 slot with this magic value. This hack doesn't appear to work, however. The runtime finds its pthread
[all …]
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".
/bionic/libc/
DAndroid.bp1267 // The following implementations depend on pthread data or implementation,