mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -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 |