-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing bug in thread_cancellation class
when destroying a thread_cancellation object on a thread which was requested to be cancelled, the status was kept forever in the preborn list, which purpose is not for that but to record cancellation for thread which no thread_cancellation object was yet run. just deleting thread_cancellation reference from the info list is better, the cancellation information for that tid will be forgotten once all thread_cancellation object for that thread will be deleted.
- Loading branch information
Showing
2 changed files
with
4 additions
and
6 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