On 2015/07/15 at 13:41:35, jochen wrote:
On 2015/07/15 at 07:42:21, jarin wrote:
> Adding jochen to discuss the blocking of main thread.
>
>
https://codereview.chromium.org/1208933006/diff/180001/src/futex-emulation.cc
> File src/futex-emulation.cc (right):
>
>
https://codereview.chromium.org/1208933006/diff/180001/src/futex-emulation.cc#newcode80
> src/futex-emulation.cc:80: node->cond_.Wait(mutex_.Pointer());
> Benedikt pointed out that we cannot block the main thread indefinitely.
>
> Either we block only for small time quanta and allow interruption from
the
embedder (i.e., Blink) or we find somehow let the embedder do the waiting.
i don't think there's much we can do but block here.
Isn't this fundamentally the same thing the user can already do with
while(1){}?
I've been told that there is an extra check on back-edges... perhaps it is
worth
setting a smaller timeout and adding a similar check?
https://codereview.chromium.org/1208933006/
--
--
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.