79309891

Date: 2024-12-26 16:15:26
Score: 1.5
Natty:
Report link

If the question is about "whether Process creation + Queue.put() pair" is FIFO, see the answer by @ozymandias. In short - nobody have said that your Processes have to finish processing and push things to Queue in the same order as the Processes were created.

However, if the question is about multiprocessing.Queue itself being FIFO (in other words, about "whether messages put() into Queue will appear in the same order when get()ting them"), the answer gets much more interesting. From my own research (combination of testing, docs, multiprocessing source code, and whatsnot) - the picture looks as follows:

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @ozymandias
  • User mentioned (0): @raizinnz
  • Low reputation (1):
Posted by: KTAGirl