Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utilities: Split thread internal callback function
__try is used in pthread_cleanup_push when CLEANUP_SET is used as the pthread cleanup model. That can't be used in functions with objects that have destructors, so move it into a separate function. Prevents compile errors on non-release Windows builds if other things in the internal callback function change.
- Loading branch information
Showing
2 changed files
with
12 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