Lines Matching defs:monitor
147 PRMonitor* monitor;
251 self->monitor = mon;
300 return self->monitor;
313 PR_EnterMonitor(self->monitor);
321 /* destroying the monitor also destroys the name */
322 PR_ExitMonitor(self->monitor);
323 PR_DestroyMonitor(self->monitor);
337 mon = self->monitor;
401 entryCount = PR_GetMonitorEntryCount(self->monitor);
407 /* We need temporarily to give up our event queue monitor if
413 PR_ExitMonitor(self->monitor);
425 PR_EnterMonitor(self->monitor);
449 PR_EnterMonitor(self->monitor);
469 PR_ExitMonitor(self->monitor);
481 PR_EnterMonitor(self->monitor);
486 PR_ExitMonitor(self->monitor);
498 PR_EnterMonitor(self->monitor);
505 PR_ExitMonitor(self->monitor);
511 PR_ASSERT(PR_GetMonitorEntryCount(queue->monitor) > 0);
544 ** First we enter the monitor so that no one else can post any events
547 PR_EnterMonitor(self->monitor);
548 PR_LOG(event_lm, PR_LOG_DEBUG, ("$$$ owner %0x, entered monitor", owner));
566 PR_ExitMonitor(self->monitor);
578 PR_EnterMonitor(self->monitor);
584 PR_ExitMonitor(self->monitor);
598 PR_EnterMonitor(self->monitor);
603 PR_ExitMonitor(self->monitor);
613 PR_ExitMonitor(self->monitor);
625 PR_EnterMonitor(self->monitor);
642 PR_ExitMonitor(self->monitor);
740 PR_EnterMonitor(queue->monitor);
756 PR_ExitMonitor(queue->monitor);
800 mon = self->monitor;
1692 PR_EnterMonitor(aSelf->monitor);
1695 PR_ExitMonitor(aSelf->monitor);
1711 PR_ExitMonitor(aSelf->monitor);
1715 PR_ExitMonitor(aSelf->monitor);
1736 PR_EnterMonitor(aSelf->monitor);
1752 PR_ExitMonitor(aSelf->monitor);