NEW 156757
Consider more alternative locking protocols for WTF::Lock
https://bugs.webkit.org/show_bug.cgi?id=156757
Summary Consider more alternative locking protocols for WTF::Lock
Filip Pizlo
Reported 2016-04-19 12:16:25 PDT
The current protocol errs on the side of fairness by having the slow path release the lock while the queue lock is held. This reduces barging opportunities. We should consider other futex-based protocols. For example, it might be interesting to see how Linux's pthread_mutex_lock algorithm would work in WTF::Lock.
Attachments
Note You need to log in before you can comment on or make changes to this bug.