Lines Matching refs:tid
14765 TID owner; /* Thread holding this mutex */
14897 TID tid;
14902 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
14905 tid = ptib->tib_ptib2->tib2_ultid;
14907 return p==0 || (p->nRef!=0 && p->owner==tid);
14910 TID tid;
14915 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
14918 tid = ptib->tib_ptib2->tib2_ultid;
14920 return p==0 || p->nRef==0 || p->owner!=tid;
14936 TID tid;
14942 DosQueryMutexSem(p->mutex, &holder1, &tid, &holder2);
14943 p->owner = tid;
14948 TID tid;
14954 DosQueryMutexSem(p->mutex, &holder1, &tid, &holder2);
14955 p->owner = tid;
14972 TID tid;
14977 DosQueryMutexSem(p->mutex, &holder1, &tid, &holder2);
14978 assert( p->owner==tid );
21493 pthread_t tid; /* The thread that "owns" this unixFile */
22191 ** Set or check the unixFile.tid field. This field is set when an unixFile
22206 # define SET_THREADID(X) (X)->tid = pthread_self()
22208 !pthread_equal((X)->tid, pthread_self()))
22233 ** set the unixLockKey.tid field to the thread ID. If threads can override
22234 ** each others locks (Posix and NPTL) then tid is always set to zero.
22235 ** tid is omitted if we compile without threading support or on an OS
22241 pthread_t tid; /* Thread ID of lock owner. Zero if not using LinuxThreads */
22526 lockKey.tid = threadsOverrideEachOthersLocks ? 0 : pthread_self();
22601 if( pthread_equal(pFile->tid, hSelf) ){
22611 pFile->h, pFile->tid, hSelf);
22612 pFile->tid = hSelf;