diff options
author | Cheng Zhao <zcbenz@gmail.com> | 2021-10-06 04:22:21 +0300 |
---|---|---|
committer | Michael Dawson <mdawson@devrus.com> | 2021-10-14 00:27:27 +0300 |
commit | 3b72788afb7365e10ae1e97c71d1f60ee29f09f2 (patch) | |
tree | 2704d51811fb4d1dd3ce7d6c9122c9982bdb5c28 /src/node_internals.h | |
parent | 4cf5563147cd562335ec02c4a78f9397a30e6701 (diff) |
src: add flags for controlling process behavior
PR-URL: https://github.com/nodejs/node/pull/40339
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r-- | src/node_internals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_internals.h b/src/node_internals.h index c996723db57..2671bec8746 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -324,7 +324,8 @@ InitializationResult InitializeOncePerProcess(int argc, char** argv); InitializationResult InitializeOncePerProcess( int argc, char** argv, - InitializationSettingsFlags flags); + InitializationSettingsFlags flags, + ProcessFlags::Flags process_flags = ProcessFlags::kNoFlags); void TearDownOncePerProcess(); void SetIsolateErrorHandlers(v8::Isolate* isolate, const IsolateSettings& s); void SetIsolateMiscHandlers(v8::Isolate* isolate, const IsolateSettings& s); |