Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing info to and from worker threads

Status
Not open for further replies.

JABOSL

Programmer
Jan 25, 2006
35
0
0
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top