-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
obj: wrap pool opens/closes in a crude global mutex
Prevents crashes (or more likely, valgrind gripe) if someone tries to do that in parallel. Concurrent read of pool info have been safe since early 2019. We're close to fully concurrent opens/closes as well -- IIRC the main blocker is the use of globals for confit parsing -- but until that part is fixed, let's at least serialize and be safe.
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
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