summaryrefslogtreecommitdiff
path: root/test/parallel/test-handle-wrap-isrefed.js
diff options
context:
space:
mode:
authorAndreas Madsen <amwebdk@gmail.com>2017-07-06 08:20:03 +0200
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2017-07-19 15:02:24 -0400
commit3faeb49d946a61184f5ad207345be7a27d4323f5 (patch)
treefc85fffcd6021f8931c617b2e412c61952ac0364 /test/parallel/test-handle-wrap-isrefed.js
parent229748c756f7b6eaa79b4d861e39d6a57cc01b36 (diff)
downloadnode-new-3faeb49d946a61184f5ad207345be7a27d4323f5.tar.gz
async_hooks: C++ Embedder API overhaul
* Fix AsyncHooksGetTriggerAsyncId such it corresponds to async_hooks.triggerAsyncId and not async_hooks.initTriggerId. * Use an async_context struct instead of two async_uid values. This change was necessary since the fixing AsyncHooksGetTriggerAsyncId otherwise makes it impossible to get the correct default trigger id. It also prevents an invalid triggerAsyncId in MakeCallback. * Rename async_uid to async_id for consistency * Rename get_uid to get_async_id * Add get_trigger_async_id to AsyncResource class PR-URL: https://github.com/nodejs/node/pull/14040 Backport-PR-URL: https://github.com/nodejs/node/pull/14109 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-handle-wrap-isrefed.js')
0 files changed, 0 insertions, 0 deletions