On Feb 25, 10:47 am, Rambo <demia...@gmail.com> wrote:
> Could the event loop execute a callback added as an event listener between
> sync1 and sync2 call? if so, when does sync2 get executed, before or after
> the callback?

No, the v8 vm is not re-entrant and is non-interruptible, so nothing
else will happen between sync1() and sync2().

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to