From a0a21de5daf0482e818278607b1973cf4b5c6810 Mon Sep 17 00:00:00 2001 From: wathenjiang Date: Thu, 28 Sep 2023 14:32:21 +0800 Subject: [PATCH] use std AtomicUsize instead of loom AtomicUsize --- tokio/src/runtime/task/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/task/list.rs b/tokio/src/runtime/task/list.rs index ace0b849f09..e4fc70d0557 100644 --- a/tokio/src/runtime/task/list.rs +++ b/tokio/src/runtime/task/list.rs @@ -8,7 +8,7 @@ use crate::future::Future; use crate::loom::cell::UnsafeCell; -use crate::loom::sync::atomic::AtomicUsize; +use std::sync::atomic::AtomicUsize; use crate::loom::sync::{Mutex, MutexGuard}; use crate::runtime::task::{JoinHandle, LocalNotified, Notified, Schedule, Task}; use crate::util::linked_list::{Link, LinkedList};