Lines Matching defs:waiting
930 ArbitrationLockQueueElement * waiting;
975 // before placing this new thread on the waiting queue, we look for
980 // want is waiting for another object to be unlocked
983 waiting,
987 if( waiting->thread == active->thread ) {
988 assert( false == waiting->aborted );
994 if( found ) { // yes, active thread waiting for another object
998 if( false == waiting->required )
999 victim = waiting;
1009 if( active->service == waiting->service ) {
1015 // someone must be holding it or it wouldn't be waiting
1020 // doh, it's waiting for the thread that originated
1031 // see if we came across a waiting thread that did
1038 // take the victim off the waiting queue
1054 // all the waiting threads we came across in
1063 // looking for threads waiting on it; note the active
1067 } else { // no, active thread is not waiting for another object
1074 if( success ) { // put the request on the waiting queue?
1077 // place this thread on the waiting queue and put it to sleep;
1092 // put thread to sleep, waiting for our event to fire...
1101 // already been moved from the waiting queue to the
1104 // (c) we're still on the waiting queue
1112 // determine whether we're still on the waiting queue
1115 waiting, // (reuse waiting queue element)
1119 if( waiting == element ) {
1125 if( found ) { // yes, we're still on the waiting queue
1133 // take us off the waiting queue
1165 // we've already been moved from waiting to active queue
1251 // determine whether a thread is waiting for object (head to tail scan)
1264 if ( found ) { // we found an interested thread on waiting queue
1266 // remove it from the waiting queue
1278 // wake the waiting thread