Skip to content

Instantly share code, notes, and snippets.

View ibraheemdev's full-sized avatar

Ibraheem Ahmed ibraheemdev

View GitHub Profile
use std::marker::PhantomData;
use std::sync::atomic::{self, AtomicBool, AtomicU8, Ordering};
use std::sync::Mutex;
struct Parker;
impl Parker {
fn register(&mut self) {}
fn unregister(&mut self) {}
fn notify_one(&mut self) {}