How to use ThreadPool.QueueUserWork item to run 50 threads simultaneously

Posted by Sudhakar_A under Windows Forms on 8/6/2014 | Points: 10 | Views : 1287 | Status : [Member] | Replies : 0
I have 50 number of units(Car device).
And n number of commands to be fired to that 50 units.
I have build the 1st part of the logical to create n number of command packet.
Now i going to build a function that fires the command to all the units.
I m using threadPool.queueUserWorkItem to run a function that process the fire command to individual unit.
How to use threadpool.queueuserworkitem to create 50 thread to process all the 50 unit separately,but at the sametime.
i mean fire set of command and process to all the unit in different at same time(Mutlithreading).

Pls help to sort out as quick as possible.
Thank You


(No response found.)

Login to post response