Lines Matching refs:ut
70 struct uthread * ut;
75 ut = get_bsdthread_info(self);
76 catch = ut->uu_pri & PCATCH;
77 dropmutex = ut->uu_pri & PDROP;
78 spinmutex = ut->uu_pri & PSPIN;
97 } else if (SHOULDissignal(p,ut)) {
107 } else if( (ut->uu_flag & ( UT_CANCELDISABLE | UT_CANCEL | UT_CANCELED)) == UT_CANCEL) {
119 if (ut->uu_mtx && !dropmutex) {
121 lck_mtx_lock_spin(ut->uu_mtx);
123 lck_mtx_lock(ut->uu_mtx);
125 ut->uu_wchan = NULL;
126 ut->uu_wmesg = NULL;
128 unix_syscall_return((*ut->uu_continuation)(error));
163 struct uthread * ut;
170 ut = get_bsdthread_info(self);
184 ut->uu_wchan = chan;
185 ut->uu_wmesg = wmsg ? wmsg : "unknown";
210 if (SHOULDissignal(p,ut)) {
245 ut->uu_continuation = continuation;
246 ut->uu_pri = pri;
247 ut->uu_timo = abstime? 1: 0;
248 ut->uu_mtx = mtx;
280 } else if (SHOULDissignal(p, ut)) {
290 } else if( (ut->uu_flag & ( UT_CANCELDISABLE | UT_CANCEL | UT_CANCELED)) == UT_CANCEL) {
301 ut->uu_wchan = NULL;
302 ut->uu_wmesg = NULL;