mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -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) |
||
---|---|---|
.. | ||
os | ||
web_worker | ||
bootstrap.rs | ||
fs_events.rs | ||
http.rs | ||
mod.rs | ||
permissions.rs | ||
process.rs | ||
runtime.rs | ||
signal.rs | ||
tty.rs | ||
utils.rs | ||
web_worker.rs | ||
worker_host.rs |