forked from containerd/ttrpc-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic when using sync client from a GCC destructor
Calling Rust from a GCC destructor can result in panics when using pthreads (rust-lang/rust#28129) Move client request code to a separate thread to work around this issue Signed-off-by: Kostis Papazafeiropoulos <papazof@gmail.com>
- Loading branch information
Showing
1 changed file
with
26 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters