aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/examples/basic/src/main.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-09-12 12:05:58 +0200
committerDario Nieuwenhuis <[email protected]>2022-09-12 12:05:58 +0200
commitea5f2c71e063aff9fdc0bde04656f36a3883178d (patch)
treefe38d05d89d79a4044b5d29d460f22afb511e04f /docs/modules/ROOT/examples/basic/src/main.rs
parent573c433f64a049d4e0d501df1194c3228aae0863 (diff)
sync/signal: wake old waker on overflow instead of panicking.
This makes behavior consistent with `WakerRegistration`. It allows canceling `wait` in one task and then calling `wait` in another. If two tasks are `wait`ing concurrently the signal will be received by only one of them, randomly.
Diffstat (limited to 'docs/modules/ROOT/examples/basic/src/main.rs')
0 files changed, 0 insertions, 0 deletions