JABOSL
Programmer
- Jan 25, 2006
- 35
My current thoughts on my latest project involve having a main thread that takes a batch of records retrieved by an sql query and hands the records first in first out to the next available worker thread to process and update the record.
To accomplish this I forsee the need to communicate with the worker threads which will each be maintaining an open connection to a remote server.
--I need to pass a record to a worker thread
--I need to read a property of the thread or something to indicate if it is busy or available.
I need help.
Can someone please give me some ideas on how this can be done?
To accomplish this I forsee the need to communicate with the worker threads which will each be maintaining an open connection to a remote server.
--I need to pass a record to a worker thread
--I need to read a property of the thread or something to indicate if it is busy or available.
I need help.
Can someone please give me some ideas on how this can be done?