On Mon, Jul 28, 2014 at 7:19 PM, Serge <[email protected]> wrote:

> [...] The problem is that I need to call Isolate::RequestInterrupt() from
> timer IRQ interrupt handler and it often deadlocks here:
> [...]
> because interrupt can occur when ExecutionAccess mutex is locked. [...]
>

Even worse: Calling anything pthread-related from a signal handler is not
allowed by POSIX, so the whole idea of calling back to v8 from a signal
handler is broken: We make no guarantees which API entries are signal-safe,
and don't intend to do so. If we did, this would be a very heavy API
contract for something outside our intended use cases.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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