One question below.
Still, could you explain why it deadlocked?
https://codereview.chromium.org/1230303005/diff/80001/src/futex-emulation.cc
File src/futex-emulation.cc (right):
https://codereview.chromium.org/1230303005/diff/80001/src/futex-emulation.cc#newcode138
src/futex-emulation.cc:138: if (node->CheckInterruptedAndClear()) {
Why can't you read and clear the interrupt flag while still holding the
lock? That way, you would not have to resort to the CASing, no? (You
could also use lexically scoped guards.)
https://codereview.chromium.org/1230303005/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.