Remove unnecessary use of atomic-polyfill.

Only use it when CAS is actually needed.
This commit is contained in:
Dario Nieuwenhuis
2022-12-23 20:46:49 +01:00
parent cd9a65ba39
commit 10c9cc31b1
15 changed files with 22 additions and 28 deletions

View File

@ -1,7 +1,6 @@
use core::marker::PhantomData;
use core::ptr;
use atomic_polyfill::{AtomicBool, Ordering};
use core::sync::atomic::{AtomicBool, Ordering};
use super::{raw, Spawner};

View File

@ -1,7 +1,6 @@
use core::marker::PhantomData;
use core::ptr;
use atomic_polyfill::{AtomicBool, Ordering};
use core::sync::atomic::{AtomicBool, Ordering};
use super::{raw, Spawner};