Serial Thread Confinement 串行线程封闭 Posted on 2020-12-08 In Design Pattern , Concurrent Pattern 说明将多个并发任务存入队列,使用单线程消费。此模式将带来如下好处: 异步化调用与执行; 由于任务串行化,可以避免使用锁。 此模式是一个弱化了的线程池模式。类似UI 中的 Event Loop。 Welcome to my other publishing channels RSS