Searched defs:thread_id (Results 1 - 2 of 2) sorted by relevance

/bionic/libc/bionic/
H A Dptrace.c60 void _thread_created_hook(pid_t thread_id) __attribute__((noinline));
61 void _thread_created_hook(pid_t thread_id) argument
H A Dpthread-rwlocks.c167 static __inline__ int read_precondition(pthread_rwlock_t *rwlock, int thread_id) argument
177 if (rwlock->writerThreadId == 0 || rwlock->writerThreadId == thread_id)
185 static __inline__ int write_precondition(pthread_rwlock_t *rwlock, int thread_id) argument
192 if (rwlock->writerThreadId == thread_id)
234 int thread_id, ret = 0; local
240 thread_id = __get_thread_id();
241 if (__unlikely(!read_precondition(rwlock, thread_id))) {
245 } while (ret == 0 && !read_precondition(rwlock, thread_id));
264 int thread_id, ret = 0; local
270 thread_id
283 int thread_id, ret = 0; local
[all...]

Completed in 59 milliseconds