0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test/addons
Anna Henningsen c0f3bc24de
src: add helper for addons to get the event loop
Add a utility functions for addons to use when they need
a reference to the current event loop.

Currently, `uv_default_loop()` works if the embedder is the
single-threaded default node executable, but even without
the presence of e.g. workers that might not really an API
guarantee for when Node is embedded.

PR-URL: https://github.com/nodejs/node/pull/17109
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-11-21 08:33:19 +01:00
..
async-hello-world src: add helper for addons to get the event loop 2017-11-21 08:33:19 +01:00
async-hooks-id test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
async-hooks-promise test: remove custom message from assertion 2017-11-07 09:50:54 +00:00
async-resource test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
at-exit test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
buffer-free-callback test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
callback-scope src: add helper for addons to get the event loop 2017-11-21 08:33:19 +01:00
dlopen-ping-pong n-api: use module name macro 2017-10-15 16:00:29 -07:00
errno-exception test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
heap-profiler test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
hello-world test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
hello-world-esm test: fix test-esm-addons 2017-10-13 10:50:02 -07:00
hello-world-function-export test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
load-long-path test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
make-callback test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
make-callback-recurse test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
new-target test: check that this != new.target in addon 2017-10-02 01:20:27 -03:00
node-module-version n-api: use module name macro 2017-10-15 16:00:29 -07:00
not-a-binding test: add check on an addon that does not register 2017-08-01 17:25:51 +02:00
null-buffer-neuter test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
openssl-binding test: --enable-static linked executable 2017-11-16 09:22:13 +01:00
openssl-client-cert-engine tls: implement clientCertEngine option 2017-11-11 13:35:23 -08:00
parse-encoding test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
repl-domain-abort test: use common.buildType in repl-domain-abort 2017-10-27 09:50:37 -07:00
stringbytes-external-exceed-max test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
symlinked-module test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
zlib-binding test: --enable-static linked executable 2017-11-16 09:22:13 +01:00
.gitignore
testcfg.py