Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve co
  • Loading branch information
pitrou authored Aug 30, 2023
commit 6eae9676d6b32537e69e298b4dc903916d5b5fc9
2 changes: 1 addition & 1 deletion Lib/multiprocessing/synchronize.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __setstate__(self, state):
self._semlock = _multiprocessing.SemLock._rebuild(*state)
util.debug('recreated blocker with handle %r' % state[0])
self._make_methods()
# SemLock created in fork context cannot be serialized
# Ensure that deserialized SemLock can be serialized again (gh-108568).
Comment thread
pitrou marked this conversation as resolved.
Outdated
self._is_fork_ctx = False

@staticmethod
Expand Down