Re: Help with Queues and Threading

2005-06-01 Thread Paul Rubin
Ognjen Bezanov <[EMAIL PROTECTED]> writes: > But if I run the loop directly (i.e. not using threads, just calling the > function) it works just fine. What could the problem be? You have to say args=(cmddata,) with the comma inside the parens, to make a seqence instead of a parenthesized expression

Help with Queues and Threading

2005-06-01 Thread Ognjen Bezanov
Hi, all Thanks all of you who helped me with the threading and queues issue. I am trying to get it working but I am having problems. When I try to run the following: cmddata = mediaplay.initcommandqueue() #initiates the Queue to send commands down mediathread = threading.Thread( target=mediapl