-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure ticket updates are processed for task queue reference count
It is possible that when the reference count is retrieved that the ticket updates have not yet been processed, which means that the region section at the queued position may not exist or may become nonexistant while or after the task is being added. This restructures the reference counting code to now refer to both a reference counter and a flag indicating whether ticket updates are processed. Fixes #262 This issue shows the race condition where the region becomes nonexistant.
- Loading branch information
1 parent
f50f363
commit e160105
Showing
1 changed file
with
98 additions
and
94 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