[PATCH] D17609: [lit] Enqueue tests on a separate thread to not hit limits on parallel queues

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 07:53:50 PST 2016


filcab added a subscriber: filcab.
filcab added a comment.

No bug, and there's no specific limit in the docs (well, you can see
how it's implemented and check the limits of the Queue's innards).

multiprocessing.Queue is allowed to behave like this, though:
https://docs.python.org/2/library/multiprocessing.html#multiprocessing.Queue.put

"put(obj[, block[, timeout]])
Put obj into the queue. If the optional argument block is True (the
default) and timeout is None (the default), block if necessary until a
free slot is available."

Do you want me to add this to the commit message? I don't think it's
the most useful thing to have in a comment there, reminding people to
look at the docs. :-)

Thank you,

  Filipe


http://reviews.llvm.org/D17609





More information about the llvm-commits mailing list