Slug: async-waker-01 · Paired reading: Chapters 13 and 24
Prompt
YieldOnce + CountingWaker(AtomicUsize) implementing Wake.
First poll: Pending and wake count 1. Second: Ready, count still 1.
The curriculum, drills, tutor, and interviewer mode are for readers of Ace the Rust Interview. The code is printed in the Preface (Companion site access).
Don’t have the book yet? The landing page stays open — purchase unlocks this gym.
advanced · order 154
Slug: async-waker-01 · Paired reading: Chapters 13 and 24
YieldOnce + CountingWaker(AtomicUsize) implementing Wake.
First poll: Pending and wake count 1. Second: Ready, count still 1.