Home | History | Annotate | Download | only in src

Lines Matching refs:pthread_t

21 // Use this macro to validate a pthread_t before passing it into __pthread_gettid.
25 // we check that the pthread_t is probably valid. Note that it is theoretically
26 // possible for something to look like a valid pthread_t but not actually be valid.
28 #define LIKELY_VALID(ptr) (((ptr) != (pthread_t) 0) && ((((size_t) (ptr)) & 3) == 0))
69 pthread_t me = pthread_self();
70 pthread_t owner = thiz->mOwner;
86 pthread_t zero;
87 memset(&zero, 0, sizeof(pthread_t));
88 if (0 != memcmp(&zero, &thiz->mOwner, sizeof(pthread_t))) {
89 pthread_t me = pthread_self();
90 pthread_t owner = thiz->mOwner;
127 memset(&thiz->mOwner, 0, sizeof(pthread_t));
224 memset(&thiz->mOwner, 0, sizeof(pthread_t));
281 memset(&thiz->mOwner, 0, sizeof(pthread_t));