You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of having potentially two event processors running at once,
but only at different parts of the loop, we simplify the event
processing loop a bit by ensuring only one event processor can run
at once until the first is ready to exit.
Note that we still have to ensure we unset the mutual exclusion
flag inside the `pending_events` lock as otherwise we can race and
end up with two event processors called and both return without
every pending event having been processed.
0 commit comments