↧
Answer by Jonathan Feinberg for python multi-processing queue: is putting...
My reading of the source code is that get obtains a read lock, which is independent of of the lock (called _notempty) acquired by put. If I understand correctly, concurrent gets can block each other,...
View Articlepython multi-processing queue: is putting independent from getting?
Is putting an object in a multi-processing queue independent from getting an object from it?In other words, will putting an object block the process P1 if another process P2 is getting from it?Update:...
View Article