Skip to content

DestroyThreadOption

ZjzMisaka edited this page Nov 7, 2023 · 4 revisions

Properties

The amount of time a thread is kept alive after it finishes execution (ms). If a new task 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;