forked from ray-project/ray
-
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.
[Core] Make PythonGcsClient to be thread safe (ray-project#41777)
Currently, the python gcs client connect allows multithreading but PythonGcsClient::Connect is not thread safe which might result race condition that can cause segfault in PythonGcsClient::Connect. So, our solution is make the PythonGcsClient entirely thread safe by adding mutex lock in Connect. Signed-off-by: Jonathan Nitisastro <[email protected]>
- Loading branch information
1 parent
263a250
commit d9b7b33
Showing
2 changed files
with
18 additions
and
0 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