I have some question about using queues and threads. I already made researches, but I don't manage to understand the general functionnement.
What I want to do : I have a class, named "mTask", in which there are properties and a method, called "StartmTask". When I create a new mTask, I add it to a List .
And I want to process the mTask, when there are mTasks in the list. ( I have to launch a task on each free processor of the computer)
I don't understand how I should do... I think this is "simple" but I am actually lost. Is any one would be able to explain it as simply as possible ?
Thanks a lot, I keep searching, if I am not clear enough, or if you need more information, don't hesitate to ask.
Yowan