New issue
Advanced search Search tips

Issue 866035 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 20
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

WTF::ThreadCondition does not report blocking to base

Project Member Reported by jbroman@chromium.org, Jul 20

Issue description

The 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.
 
Status: Fixed (was: Started)

Sign in to add a comment