PL_ProcessPendingEvents() dispatches only those events currently on the queue. Added a static helper function (_pl_GetEventCount) that locks the monitor and counts the number of events in the queue. Checkin for troy.
PL_ProcessPendingEvents() dispatches only those events currently on the
queue. Added a static helper function (_pl_GetEventCount) that locks the
monitor and counts the number of events in the queue. Checkin for troy.

thespooler/nspr,thespooler/nspr,thespooler/nspr,thespooler/nspr,thespooler/nspr