-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lck: Apply "never" timeouts to cond waits
The vtim_real in Lck_CondWaitUntil() is not meant to be INFINITY, and it should only apply to the vtim_dur passed to Lck_CondWaitTimeout(). In practice it does since the latter calls the former. It could be enforced by extracting a static function from Lck_CondWaitUntil(). This accommodates a few timeout parameters that are used for cond waits.
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 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