containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
197 stars 47 forks source link

a potential deadlock on server shutdown #31

Closed lifupan closed 4 years ago

lifupan commented 4 years ago

When do server shutdown, the main thread would try to reap the connections thread before the connections thread taking the connections lock, which would cause a dead lock.