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
"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
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