News for hackers. Stuff that matters.
Re:Replacing Clever Code with Unremarkable Code in Go by masklinn on Tuesday June 04, 2013 @01:44PM (#5820955)
njs12345 answered for Haskell, I don't remember seeing a way to do this in Python though depending on the situation you could just use a single queue for everything of course.

FWIW there's no primitive letting you wait on multiple conditions in threading, and Queue is implemented in terms of a pair of conditions.

There are no comments on this comment yet.