Home | History | Annotate | Download | only in pthreads-win32

Lines Matching refs:tp

101   ptw32_thread_t * tp;
124 tp = (ptw32_thread_t *) thread.p;
129 ptw32_mcs_lock_acquire (&tp->stateLock, &stateLock);
131 if (tp->cancelType == PTHREAD_CANCEL_ASYNCHRONOUS
132 && tp->cancelState == PTHREAD_CANCEL_ENABLE
133 && tp->state < PThreadStateCanceling)
137 tp->state = PThreadStateCanceling;
138 tp->cancelState = PTHREAD_CANCEL_DISABLE;
147 HANDLE threadH = tp->threadH;
153 tp->state = PThreadStateCanceling;
154 tp->cancelState = PTHREAD_CANCEL_DISABLE;
172 if (tp->state < PThreadStateCancelPending)
174 tp->state = PThreadStateCancelPending;
175 if (!SetEvent (tp->cancelEvent))
180 else if (tp->state >= PThreadStateCanceling)