Lines Matching full:pthread_t
20 // Use this macro to validate a pthread_t before passing it into pthread_gettid_np.
24 // we check that the pthread_t is probably valid. Note that it is theoretically
25 // possible for something to look like a valid pthread_t but not actually be valid.
27 #define LIKELY_VALID(ptr) (((ptr) != (pthread_t) 0) && ((((size_t) (ptr)) & 3) == 0))
82 pthread_t me = pthread_self();
83 pthread_t owner = thiz->mOwner;
99 pthread_t zero;
100 memset(&zero, 0, sizeof(pthread_t));
101 if (0 != memcmp(&zero, &thiz->mOwner, sizeof(pthread_t))) {
102 pthread_t me = pthread_self();
103 pthread_t owner = thiz->mOwner;
140 memset(&thiz->mOwner, 0, sizeof(pthread_t));
237 memset(&thiz->mOwner, 0, sizeof(pthread_t));
294 memset(&thiz->mOwner, 0, sizeof(pthread_t));