-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: sync/cond and sync/pool noyields with timeout=0
* sync/cond: caller now can "check" whether value is present in condvar with cond:recv(0) and it is guarantied that this call never yields * sync/pool: caller now can send task with {wait_timeout=0} and be sure, that execution will not yield and will return proper message TASK_WAS_NOT_SCHEDULED if no free workers are available in the pool right now
- Loading branch information
Vladislav Grubov
committed
Mar 3, 2024
1 parent
00722df
commit 8c67bb3
Showing
4 changed files
with
66 additions
and
5 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
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