Skip to content

DestroyThreadOption

ZjzMisaka edited this page Nov 19, 2024 · 2 revisions

Properties

线程在完成执行后保持活跃状态的时间 (毫秒).
如果在此时间内收到了新的任务, 则将重用该线程. 否则, 它将被销毁.

int KeepAliveTime;

线程池应始终保持的最小线程数.

int MinThreads;