https://codereview.chromium.org/1255563002/diff/20001/src/d8.cc
File src/d8.cc (right):

https://codereview.chromium.org/1255563002/diff/20001/src/d8.cc#newcode1842
src/d8.cc:1842: state_ = TERMINATED;
On 2015/07/23 at 07:48:41, jarin wrote:
What if we call quit() from one worker and worker.terminate() from
another one? Cannot there be a data race?

Yes, you're right. I've removed the state_ (because it was mostly for
debugging), and replaced it with a simple atomic bool.

https://codereview.chromium.org/1255563002/

--
--
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.

Reply via email to