diff options
author | Trevor Norris <trev.norris@gmail.com> | 2017-03-10 02:13:34 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-05-10 23:22:26 +0300 |
commit | 7e3a3c962f09233c53cee7ebe381341d7c8b7162 (patch) | |
tree | 02963f7724ed9099a3566f13b16619fddffe0793 /node.gyp | |
parent | c0bde73f1bbfedd4e77ddf87cf0bcec7bac9a61e (diff) |
async_hooks: initial async_hooks implementation
Fill this commit messsage with more details about the change once all
changes are rebased.
* Add lib/async_hooks.js
* Add JS methods to AsyncWrap for handling the async id stack
* Introduce AsyncReset() so that JS functions can reset the id and again
trigger the init hooks, allow AsyncWrap::Reset() to be called from JS
via asyncReset().
* Add env variable to test additional things in test/common.js
PR-URL: https://github.com/nodejs/node/pull/12892
Ref: https://github.com/nodejs/node/pull/11883
Ref: https://github.com/nodejs/node/pull/8531
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ 'node_core_target_name%': 'node', 'library_files': [ 'lib/internal/bootstrap_node.js', + 'lib/async_hooks.js', 'lib/assert.js', 'lib/buffer.js', 'lib/child_process.js', |