WTF::ThreadCondition does not report blocking to base |
||
Issue descriptionThe scheduler relies on base::ConditionVariable and similar code notifying it when the thread is blocked. WTF::ThreadCondition does not currently report this, which causes the scheduler to not spawn additional worker threads when appropriate, if existing threads are waiting on a ThreadCondition. This will eventually be resolved by switching to base::Lock/base::ConditionVariable, but in the meantime retrofitting this feature onto the WTF threading primitives is straightforward.
,
Jul 20
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jul 20