We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fa1d4 commit 445b416Copy full SHA for 445b416
src/task/blocking.rs
@@ -83,10 +83,9 @@ fn schedule(t: async_task::Task<()>) {
83
// NICEEEE
84
}
85
Err(crossbeam::channel::TrySendError::Full(t)) => {
86
- // We were not able to send to the channel within our
87
- // budget. Try to spin up another thread, and then
88
- // block without a time limit on the submission of
89
- // the task.
+ // We were not able to send to the channel without
+ // blocking. Try to spin up another thread and then
+ // retry sending while blocking.
90
maybe_create_another_blocking_thread();
91
POOL.sender.send(t).unwrap()
92
0 commit comments