[issue32879] Race condition in multiprocessing Queue

2019-11-10 Thread Eric Meyer
Eric Meyer added the comment: The problem I was seeing ended up being improper GIL management in a c++ extension. It seems putting items that were created without the GIL on the queue causes a seg fault. -- ___ Python tracker <ht

[issue32879] Race condition in multiprocessing Queue

2019-10-07 Thread Eric Meyer
Eric Meyer added the comment: multiprocessing.SimpleQueue is another workaround to this issue. I agree the docs should be clearer about this. Additionally, it would be helpful if there was a way to optionally put an item on a multiprocessing.Queue and block until the item has been written