Lines Matching refs:Thread
12 typedef struct Thread Thread; typedef
14 struct Thread { struct
19 Thread *next; argument
24 Thread *writer; /* thread writering write lock */
26 Thread *qfirst;
27 Thread *qlast;
33 Thread *wfirst;
34 Thread *wlast;
41 static Thread **vtRock;
44 static void threadSleep(Thread*);
45 static void threadWakeup(Thread*);
69 static Thread *
79 Thread *p; in vtAttach()
97 p = vtMemAllocZ(sizeof(Thread)); in vtAttach()
106 Thread *p; in vtDetach()
134 Thread *p; in vtSetError()
222 Thread *t; in vtCanLock()
239 Thread *t; in vtLock()
284 Thread *t; in vtRLock()
314 Thread *t, *tt; in vtUnlock()
353 Thread *t; in vtRUnlock()
375 Thread *s, *t, *tt; in vtSleep()
420 Thread *t; in vtWakeup()
461 threadSleep(Thread *t) in threadSleep()
468 threadWakeup(Thread *t) in threadWakeup()