-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
semaphore: semaphore_units: return all units when reassigned
When semaphore_units are (move-) reassigned with other units, the held units aren't currently returned to the semaphore. Call return_all before reassigning the semaphore_units object. Add a unit test reproducer. Fixes #1465 Signed-off-by: Benny Halevy <[email protected]>
- Loading branch information
Showing
2 changed files
with
19 additions
and
2 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