Skip to content

DestroyThreadOption

ZjzMisaka edited this page Sep 3, 2024 · 5 revisions

Properties

The amount of time a thread is kept alive after it finishes execution (ms).
If a new work is received within this time, the thread is reused; otherwise, it is destroyed.

int KeepAliveTime;

The minimum number of threads that the thread pool should maintain at all times.

int MinThreads;

Clone this wiki locally