DescriptionSignal a blocked futex if the isolate is interrupted; don't busy-wait
FutexEmulation::Wait can potentially block forever on a condition variable. We
want to allow this to be interrupted (for a debugger, or to terminate the
thread, for example).
The previous implementation would periodically wake up the waiter to check for
interrupts. This CL modifies the StackGuard so it wakes the blocked futex if
the thread should be interrupted.
BUG=chromium:497295
R=jarin@chromium.org
LOG=n
Committed: https://crrev.com/b7cf73271d2bbabfd4c19b6b1158c476c364c747
Cr-Commit-Position: refs/heads/master@{#30311}
Patch Set 1 #Patch Set 2 : lock mutex when notifying condvar #Patch Set 3 : windows fix? #Patch Set 4 : merge master #Patch Set 5 : fix windows build #
Total comments: 2
Patch Set 6 : fixes #Patch Set 7 : merge master #
Total comments: 4
Patch Set 8 : fixes #Patch Set 9 : remove atomic waiting_ #
Messages
Total messages: 15 (3 generated)
|