-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: In multicore we can't allow the workers to change the working directory concurrently in `Utils.do_in_dir` as they will eventually execute their functions in the wrong directory. This diff introduces a mutex for exclusion, and removes redundant uses of the function which can crash due to recursively locking the mutex. Reviewed By: jvillard Differential Revision: D67195918 Privacy Context Container: L1208441 fbshipit-source-id: 6f7c3518fbc9b638e8a5e71fa15bf4ce621ffe22
- Loading branch information
1 parent
7fb8d07
commit b4aebc8
Showing
3 changed files
with
13 additions
and
9 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
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