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
The use of a thread-safe map for tracking notifications (instead of flags on each notifier) improves performance substantially:
Notification processing with large numbers of notifiers is much faster, since it's not required to synchronize with and bruteforce-search for notifiers causing a wakeup (less locks, and also less CPU time wasted).
Less locks are required during delivery of notifications (locks only required on the shared object and not on notifiers).