mirror of
https://github.com/nodejs/node.git
synced 2026-12-06 07:08:48 -05:00
Move the majority of C++ domain-related code into JS land by introducing a top level domain callback which handles entering & exiting the domain. Move the rest of the domain necessities into their own file that creates an internal binding, to avoid exposing domain-related code on the process object. Modify an existing test slightly to better test domain-related code. PR-URL: https://github.com/nodejs/node/pull/18291 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
31 lines
950 B
C++
31 lines
950 B
C++
// Need to create empty definition for these modules'
|
|
// registration function for cctest. Because when
|
|
// building cctest, the definitions for the following
|
|
// registration functions are not included.
|
|
void _register_cares_wrap() {}
|
|
void _register_config() {}
|
|
void _register_contextify() {}
|
|
void _register_domain() {}
|
|
void _register_fs() {}
|
|
void _register_fs_event_wrap() {}
|
|
void _register_http2() {}
|
|
void _register_http_parser() {}
|
|
void _register_js_stream() {}
|
|
void _register_module_wrap() {}
|
|
void _register_os() {}
|
|
void _register_pipe_wrap() {}
|
|
void _register_process_wrap() {}
|
|
void _register_serdes() {}
|
|
void _register_signal_wrap() {}
|
|
void _register_spawn_sync() {}
|
|
void _register_stream_wrap() {}
|
|
void _register_tcp_wrap() {}
|
|
void _register_timer_wrap() {}
|
|
void _register_trace_events() {}
|
|
void _register_tty_wrap() {}
|
|
void _register_udp_wrap() {}
|
|
void _register_util() {}
|
|
void _register_uv() {}
|
|
void _register_v8() {}
|
|
void _register_zlib() {}
|