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