G
Guest
I would like to know how threads behavior in .NET .
When an application create 4 threads for example start all of them, the OS
task manager will execute all 4 thread in deterministic order manes,
OS execute (All have same priority)
Thread#1
may be other threads,
Thread#2
may be other threads,
Thread#3
may be other threads,
Thread#4
may be other threads,
Thread#1
may be other threads,
Thread#2
may be other threads,
Thread#3
may be other threads,
Thread#4
.......
I'm right ? if yes , is there any way to ask for run all those threads
simultaneity with no order ? or I will have to managed the tasks by suspend /
resume for example ?
When an application create 4 threads for example start all of them, the OS
task manager will execute all 4 thread in deterministic order manes,
OS execute (All have same priority)
Thread#1
may be other threads,
Thread#2
may be other threads,
Thread#3
may be other threads,
Thread#4
may be other threads,
Thread#1
may be other threads,
Thread#2
may be other threads,
Thread#3
may be other threads,
Thread#4
.......
I'm right ? if yes , is there any way to ask for run all those threads
simultaneity with no order ? or I will have to managed the tasks by suspend /
resume for example ?