Itamar wrote: > I think the best way to do this is to use python's built-in Queue class. Actually there is no need for using this class. And perhaps an additional scheduler module for threads only may be better than altering the existing one.