BPO | [40815](https://bugs.python.org/issue40815) --- | :--- Nosy | @alanbriolat, @bensimner, @iritkatriel *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = None created_at = labels = ['docs'] title = "Multiprocessing docs don't describe thread-safety" updated_at = user = 'https://github.com/bensimner' ``` bugs.python.org fields: ```python activity = actor = 'iritkatriel' assignee = 'docs@python' closed = False closed_date = None closer = None components = ['Documentation'] creation = creator = 'bjs' dependencies = [] files = [] hgrepos = [] issue_num = 40815 keywords = [] message_count = 3.0 messages = ['370310', '375103', '375563'] nosy_count = 4.0 nosy_names = ['docs@python', 'alan.briolat', 'bjs', 'iritkatriel'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = None url = 'https://bugs.python.org/issue40815' versions = [] ```
Activity
bensimner commentedon May 29, 2020
The Multiprocessing docs specifically say that Queue is process- and thread- safe: https://docs.python.org/3/library/multiprocessing.html#exchanging-objects-between-processes.
But this information is not given for the various synchronisation primitives and such (Lock, Semaphore, Event, etc)
Are they thread-safe? Should the docs say whether they are or are not?
iritkatriel commentedon Aug 10, 2020
Here's an example where such documentation may have helped: https://bugs.python.org/issue40860
iritkatriel commentedon Aug 17, 2020
Probably another example: bpo-41567