env: introduce `KickNextTick`
authorFedor Indutny <fedor@indutny.com>
Wed, 26 Aug 2015 11:37:50 +0000 (04:37 -0700)
committerFedor Indutny <fedor@indutny.com>
Wed, 26 Aug 2015 19:45:16 +0000 (12:45 -0700)
commitb2660743470be1562a782f850a28349ceaf039ad
tree67d8c6313ad968fc4feb9cf55ecac9367c26e2d1
parent972a57cb20ae7e9794e61d505ae334cb1e2b45a6
env: introduce `KickNextTick`

There might be a need to "kick off" the next tick queue and execute
events on it. Normally it is done through the `MakeCallback` interface,
but in case when it is not - we need a way to "kick them off" manually.

PR-URL: https://github.com/nodejs/node/pull/2355
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
src/env.cc
src/env.h
src/node.cc
src/node_internals.h