{"id":58803,"library":"atomic-waker","title":"Atomic Waker","description":"A synchronization primitive for task wakeup in async contexts.","status":"active","version":"1.1.2","language":"rust","source_language":null,"source_url":"https://github.com/smol-rs/atomic-waker","tags":["async","synchronization","waker"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\natomic-waker = \"1.1.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add atomic-waker","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"AtomicWaker","correct":"use atomic_waker::AtomicWaker;"}],"quickstart":{"code":"use atomic_waker::AtomicWaker;\nuse std::sync::Arc;\nuse std::thread;\n\nlet waker = Arc::new(AtomicWaker::new());\nlet waker_clone = waker.clone();\nthread::spawn(move || {\n    waker_clone.wake();\n});\nwaker.register();","lang":"rust","description":"Registers a waker and wakes it from another thread."},"warnings":[{"fix":"Ensure you are within an async context when calling register.","message":"Must be used with a proper async runtime to avoid panics.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'async':10,12 'atom':1 'context':11 'primit':5 'synchron':4,13 'task':7 'waker':2,14 'wakeup':8","created_at":"2026-06-16T16:39:10.570011+00:00","updated_at":"2026-06-16T16:39:10.570011+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/smol-rs/atomic-waker","github":"https://github.com/smol-rs/atomic-waker","docs":"https://docs.rs/atomic-waker/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}