-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax AwaitableStateChecker and fix AwaitableLambda
1. `MuxHelper` calls `await_set_executor()` even when the underlying awaitable has returned `true` from `await_ready()`. The `AwaitableStateChecker` does not allow this. We discussed several other options, but for now this is the least intrusive "fix" to stop ASSERT-failing in `linux.debug` variants. 2. We may call `AwaitableLambda::await_early_cancel()` after calling `AwaitableLambda:: await_set_executor()`. As far as I can tell, AwaitableStateChecker::earlyCancelReturned() does not disallow this. Let's not ASSERT-fail on this.
- Loading branch information
1 parent
48b7621
commit d399355
Showing
3 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters