Why is multiprocessing.Queue creating a thread ?

Léo El Amri leo at superlel.me
Sun Jul 29 06:03:06 EDT 2018


Hello list,

This is a simple question: I wonder what is the reason behind
multiprocessing.Queue creating a thread to send objects through a
multiprocessing.connection.Connection.
I plan to implement an asyncio "aware" Connection class. And while
reading the source code of the multiprocessing module, I found that (As
outlined in the documentation) Queue is indeed creating a thread. I want
to know if I'm missing something.

-- 
Leo


More information about the Python-list mailing list