Lines Matching refs:thread
123 thread_t thread;
141 lock->thread = 0;
174 if( lock->thread == IOThreadSelf())
178 assert( lock->thread == 0 );
180 lock->thread = IOThreadSelf();
189 if( lock->thread == IOThreadSelf()) {
194 assert( lock->thread == 0 );
196 lock->thread = IOThreadSelf();
208 assert( lock->thread == IOThreadSelf() );
211 lock->thread = 0;
220 return( lock->thread == IOThreadSelf());
229 assert(lock->thread == IOThreadSelf());
232 lock->thread = 0;
237 assert(lock->thread == 0);
239 lock->thread = IOThreadSelf();
251 assert(lock->thread == IOThreadSelf());
254 lock->thread = 0;
260 assert(lock->thread == 0);
262 lock->thread = IOThreadSelf();