realthinclient线程池
realthinclient线程池
RtcHttpServer1.MultiThreaded:=true;
如无必要,就用默认的线程池参数即可。
unit rtcThrPool;
var // Max. number of unused threads to keep active RTC_THREAD_POOL_OVERSIZE:word=256; // Max. number of "normal" Threads in our thread pool. RTC_THREAD_POOL_MAX:word=128; // Absolute Thread Pool Limit, including high priority threads. RTC_THREAD_POOL_LIMIT:word=256; // Maximum time (in seconds) allowed for all worker threads to close when shutting down RTC_THREAD_POOL_CLOSEWAIT:word=30; // Maximum time (in seconds) allowed for the last worker thread to close when shutting down RTC_THREAD_POOL_CLOSELAST:word=5; // "Sleep" time (in milliseconds) after every executed job RTC_THREAD_SLEEP:integer=0; // Time limit (milliseconds) for running multiple events in the Main Thread RTC_THREAD_SYNCLIMIT:integer=250;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/15903238.html