smallnest/concurrency-programming-via-rust

channel章节运行锁中毒-pub fn async_priority_channel_example()

miaomiao1992 opened this issue · 1 comments

note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread 'main' panicked at 'task panicked while holding lock: PoisonError { .. }'...

我运行没有重现问题。

Default host: aarch64-apple-darwin
rustup home:  /Users/chaoyuepan/.rustup

installed toolchains
--------------------

nightly-aarch64-apple-darwin (default)
nightly-x86_64-apple-darwin

active toolchain
----------------

nightly-aarch64-apple-darwin (default)
rustc 1.71.0-nightly (c609da59d 2023-04-18)