forked from ruby/etc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release GVL around pw and gr function calls in Etc
These can block as they parse files. I'm not sure if other function calls in Etc can block, so this doesn't add GVL releasing to them. Releasing the GVL for these methods results in thread-safety issues, since thread-safety for the methods relied previously on the GVL. Add a mutex and surround GVL-releasing calls with a mutex.
- Loading branch information
1 parent
1167731
commit 7c2b434
Showing
1 changed file
with
109 additions
and
18 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