ipc-channel
ipc-channel copied to clipboard
A multiprocess drop-in replacement for Rust channels
More complex alternative to #335 fixes https://github.com/servo/ipc-channel/issues/268
https://github.com/servo/ipc-channel/pull/334 made more simple. Fixes #268.
``` * thread #43, stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) frame #0: 0x000000011ba94c29 servo`core::intrinsics::copy_nonoverlapping::h64863016c6ffb52b(src="", dst=0x0000000000000000, count=0) at intrinsics.rs:2125:9 2122 && is_nonoverlapping(src, dst, count)) 2123 { 2124 // Not panicking to...
ipc-channel seems to make assumptions about underlying OS buffer sizes; the tests want to send()/recv() in the same thread on the same channel, e.g.: https://github.com/servo/ipc-channel/blob/master/src/platform/test.rs#L97 . This is a problem;...
There should be a method, when spawning an IPC server, that lets you pass in your own name. There should be another method that checks if a given name is...
I believe this is necessary to recover correctly from serialization errors (Refs #257)
`cargo test stress` panics for me fairly frequently.
It works in Capsicum capability mode (process sandbox).
It would be cool if this could work with async futures-rs. I think this will make servo/servo#16236 a lot easier. So far `Stream` for `IpcReceiver` was pretty straightforward, but I'm...
Error - `thread 'main' panicked at 'assertion failed: self.port == MACH_PORT_NULL', /Users/mohitreddy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ipc-channel-0.17.0/src/platform/macos/mod.rs:602:9` Saw the above errors with the following versions of rustc - ``` rustc -V rustc 1.68.2 (9eb3afe9e 2023-03-27)...