0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Anna Henningsen 39eca841c3
src: split ownsProcessState off isMainThread
Embedders may want to control whether a Node.js instance
controls the current process, similar to what we currently
have with `Worker`s.

Previously, the `isMainThread` flag had a bit of a double usage,
both for indicating whether we are (not) running a Worker and
whether we can modify per-process state.

PR-URL: https://github.com/nodejs/node/pull/25881
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-02-05 21:55:54 +01:00
..
internal src: split ownsProcessState off isMainThread 2019-02-05 21:55:54 +01:00
_http_agent.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
_http_client.js http: make timeout event work with agent timeout 2019-01-31 11:51:25 +01:00
_http_common.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_http_incoming.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_http_outgoing.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
_http_server.js http: return HTTP 431 on HPE_HEADER_OVERFLOW error 2019-02-01 19:48:23 +01:00
_stream_duplex.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_stream_passthrough.js lib: use ES6 class inheritance style 2018-12-05 16:55:00 +01:00
_stream_readable.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_stream_transform.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_stream_wrap.js src: use consistent names for JSStream 2018-12-28 12:57:46 -08:00
_stream_writable.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
_tls_common.js tls: add min/max protocol version options 2018-11-22 09:14:58 -08:00
_tls_wrap.js tls: check arg types of renegotiate() 2019-02-04 08:06:41 -08:00
.eslintrc.yaml lib: save primordials during bootstrap and use it in builtins 2019-02-02 05:40:47 +08:00
assert.js assert: remove unused catch bindings 2018-11-06 10:58:42 -05:00
async_hooks.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
buffer.js buffer: move Buffer prototype wiring into internal/buffer.js 2019-01-10 16:59:27 +08:00
child_process.js child_process: truncate output when maxBuffer is exceeded 2019-01-23 15:45:46 -08:00
cluster.js
console.js console: split console into global.js and constructor.js 2018-12-02 04:51:18 +08:00
constants.js src,lib: move natives and constants to internalBinding() 2018-10-21 03:17:12 +02:00
crypto.js crypto: remove deprecated crypto._toBuf 2019-01-08 01:04:18 +01:00
dgram.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
dns.js dns: use IDNA 2008 to encode non-ascii hostnames 2019-01-28 20:42:44 +01:00
domain.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
events.js events: show inspected error in uncaught 'error' message 2019-01-23 16:43:29 +01:00
fs.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
http2.js http2: order declarations in http2.js 2018-11-20 10:42:31 -08:00
http.js lib: support overriding http\s.globalAgent 2019-01-08 00:10:36 +01:00
https.js tls: introduce client 'session' event 2019-02-01 19:06:58 -08:00
inspector.js console: refactor inspector console extension installation 2019-01-23 20:23:23 +08:00
module.js
net.js net,http2: merge setTimeout code 2019-01-27 17:20:13 +01:00
os.js os: add fallback for undefined CPUs 2019-01-16 12:41:56 +09:00
path.js path: replace assertPath() with validator 2018-12-06 19:57:11 -08:00
perf_hooks.js tools: enable no-useless-constructor lint rule 2018-12-16 20:30:50 -08:00
process.js
punycode.js
querystring.js querystring: remove eslint-disable 2018-12-14 13:13:43 -05:00
readline.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
repl.js repl: indicate if errors are thrown or not 2019-01-02 14:58:47 +01:00
stream.js tools: lint for unused catch bindings 2018-11-06 10:59:27 -05:00
string_decoder.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
sys.js
timers.js timers: truncate decimal values 2019-01-28 16:25:07 -08:00
tls.js lib: switch to object spread where possible 2018-12-20 13:14:46 +01:00
trace_events.js src: split ownsProcessState off isMainThread 2019-02-05 21:55:54 +01:00
tty.js lib: remove internal util._extends() usage 2018-12-20 13:52:44 +01:00
url.js lib: save primordials during bootstrap and use it in builtins 2019-02-02 05:40:47 +08:00
util.js util: fixes type in argument type validation error 2019-01-14 17:34:25 +01:00
v8.js tools: enable no-useless-constructor lint rule 2018-12-16 20:30:50 -08:00
vm.js inspector,vm: remove --eval wrapper 2019-02-03 20:40:16 +01:00
worker_threads.js worker: export workerData to ESM workers 2019-01-30 18:14:38 +01:00
zlib.js zlib: add brotli support 2019-01-05 21:36:46 +01:00