madsim-rs / madsim

Magical Deterministic Simulator for distributed systems in Rust.
Apache License 2.0
648 stars 46 forks source link

cancellation safety #45

Open wangrunji0408 opened 2 years ago

wangrunji0408 commented 2 years ago

https://github.com/madsys-dev/madsim/blob/6e35170d763b657aa4aa89417efdd7f2f6c7266c/madsim/src/std/net/tcp.rs#L121