Skip to content

Commit f4c58f0

Browse files
author
chaoyuepan
committed
add atomic_waker
1 parent d9dbefe commit f4c58f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

special/src/primitive/atomic_waker_examples.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ impl Future for Flag {
4848
}
4949
}
5050

51+
// extraced from futures::task::AtomicWaker
5152
pub fn atomic_waker_example() {
5253
smol::block_on(async {
5354
let flag = Flag::new();

0 commit comments

Comments
 (0)