1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/cli/args
Divy Srivastava 55fac9f5ea
fix(node): child_process IPC on Windows (#21597)
This PR implements the child_process IPC pipe between parent and child.
The implementation uses Windows named pipes created by parent and passes
the inheritable file handle to the child.

I've also replace parts of the initial implementation which passed the
raw parent fd to JS with resource ids instead. This way no file handle
is exposed to the JS land (both parent and child).

`IpcJsonStreamResource` can stream upto 800MB/s of JSON data on Win 11
AMD Ryzen 7 16GB (without `memchr` vectorization)
2023-12-19 13:37:22 +01:00
..
flags.rs feat(coverage): add default coverage include dir (#21625) 2023-12-18 19:48:45 +09:00
flags_net.rs feat(permissions): add "--deny-*" flags (#19070) 2023-08-03 13:19:19 +02:00
import_map.rs feat(unstable): Workspaces support (#20410) 2023-11-17 01:28:38 +00:00
lockfile.rs refactor(npm): make NpmCache, CliNpmRegistryApi, and NpmResolution internal to npm::managed (#20764) 2023-10-02 17:53:55 -04:00
mod.rs fix(node): child_process IPC on Windows (#21597) 2023-12-19 13:37:22 +01:00
package_json.rs refactor(node): combine node resolution code for resolving a package subpath from external code (#20791) 2023-10-04 23:05:12 -04:00