mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
55fac9f5ea
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) |
||
---|---|---|
.. | ||
flags.rs | ||
flags_net.rs | ||
import_map.rs | ||
lockfile.rs | ||
mod.rs | ||
package_json.rs |