Changing Threadpool MaxWorkers  
Author Message
dj_dupa





PostPosted: Top

Net Framework >> Changing Threadpool MaxWorkers

Several questions:

Can the MaxWorkers value of a threadpool be increased while threads are
running in the pool?

If MaxWorkers can be increased, will the threadpool immediately check for
and start queued work requests?

Can the MaxWorkers value of a threadpool be decreased while threads are
running in the pool?

If, MaxWorkers is decreased below the number of currently running threads in
the pool, what happens to excess execution threads? Do they continue
running, stall, or abort?

Obviously the same questions can be asked of MaxCompletionPorts as well.

Thanks,
Mike Ober.

DotNet393