Lines Matching defs:cvar
53 PRCondVar *cvar;
66 cvar = PR_NewCondVar( lock );
67 if( !cvar )
74 mon->cvar = cvar;
100 PR_DestroyLock( mon->cvar->lock );
101 PR_DestroyCondVar( mon->cvar );
113 if( mon->cvar->lock->owner == find_thread( NULL ) )
119 PR_Lock( mon->cvar->lock );
132 if( mon->cvar->lock->owner != find_thread( NULL ) )
138 return( PR_Unlock( mon->cvar->lock ) );
168 if( mon->cvar->lock->owner != me ) return( PR_FAILURE );
173 status = PR_WaitCondVar( mon->cvar, ticks );
188 if( mon->cvar->lock->owner != find_thread( NULL ) )
193 PR_NotifyCondVar( mon->cvar );
205 if( mon->cvar->lock->owner != find_thread( NULL ) )
210 PR_NotifyAllCondVar( mon->cvar );