Re: Threading / Queue management

2009-02-09 Thread Aahz
In article , Power Button wrote: > >I wonder if anyone can help with the following. I have written a >script which polls a server and if it finds and pending orders, it >instantiates an new object (foo) - in a new thread and processes some >data. In the new object (foo), there are also some long

Re: Threading / Queue management

2009-02-03 Thread Hendrik van Rooyen
"Power Button" > My question is, how can I create the Queue in my main object and set > the target function for the Thread Constructor to be a function in > foo? Just create it, giving it some name. Then start the static long running stuff, and pass the name you gave it. Pass the name to the t

Re: Threading / Queue management

2009-02-02 Thread Steve Holden
Power Button wrote: > hi there, > > I wonder if anyone can help with the following. I have written a > script which polls a server and if it finds and pending orders, it > instantiates an new object (foo) - in a new thread and processes some > data. In the new object (foo), there are also some lon

Threading / Queue management

2009-02-02 Thread Power Button
hi there, I wonder if anyone can help with the following. I have written a script which polls a server and if it finds and pending orders, it instantiates an new object (foo) - in a new thread and processes some data. In the new object (foo), there are also some long running processes so I am tryi