R
Ricardo Luceac
HI...
I have a queue of objects waiting to be analysed by a method, so I think
o using threads to analyse 3 objects at the same time...
The problem is:
I create the 3 threads, and execute them, the threads look in the queue,
pick an object and analyse it. But after the thread analyse the object,
it finishs...
How can I do that after the thread is finished, if there's any item in
the queue, it start the thread again??
thx...
I have a queue of objects waiting to be analysed by a method, so I think
o using threads to analyse 3 objects at the same time...
The problem is:
I create the 3 threads, and execute them, the threads look in the queue,
pick an object and analyse it. But after the thread analyse the object,
it finishs...
How can I do that after the thread is finished, if there's any item in
the queue, it start the thread again??
thx...