在设计应用程序时,有什么算法或规则能合理分配线程的时间呢?
2 个解决方案
#1
给优先级。也许能行
#2
Control Thread + N * Work Thread
Multi Control Process + Multi Work Thread.
Multi Control Process + Multi Work Thread.
#1
给优先级。也许能行
#2
Control Thread + N * Work Thread
Multi Control Process + Multi Work Thread.
Multi Control Process + Multi Work Thread.