This commit is contained in:
jtnunley 2022-11-01 19:06:16 -07:00
parent 3a40fed571
commit 6d45f3261e
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ impl Runner<'_> {
/// Waits for the next runnable task to run.
async fn runnable(&self) -> Runnable {
// Store the current thread that is running this runner.
//
//
// Relaxed ordering is fine here since a SeqCst fence is issued before the value is
// actually loaded.
self.local.thread.store(thread_id(), Ordering::Relaxed);