jamesmunns / postcard-rpc

An RPC layer for postcard based protocols
Apache License 2.0
93 stars 22 forks source link

Implement a more robust cancellation of I/O workers #40

Closed jamesmunns closed 4 months ago

jamesmunns commented 4 months ago

If any worker encounters a fatal error, the entire machinery will be halted, and users will be notified on their next interaction with the HostClient.

Closes https://github.com/jamesmunns/postcard-rpc/issues/39

jamesmunns commented 4 months ago

CI is failing for the same reason as https://github.com/embassy-rs/embassy/pull/3181, I'll look into this tomorrow

jamesmunns commented 4 months ago

https://docs.rs/maitake-sync/latest/maitake_sync/struct.WaitQueue.html#method.is_closed

maitake-sync v0.1.2 is released thanks to @\hawkw!