classification
Title: Multiprocessing docs don't describe thread-safety
Type: Stage:
Components: Documentation Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: alan.briolat, bjs, docs@python
Priority: normal Keywords:

Created on 2020-05-29 13:25 by bjs, last changed 2020-05-29 13:32 by alan.briolat.

Messages (1)
msg370310 - (view) Author: Ben (bjs) * Date: 2020-05-29 13:25
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?
History
Date User Action Args
2020-05-29 13:32:00alan.briolatsetnosy: + alan.briolat
2020-05-29 13:25:00bjscreate