尾轮锁
In connection level parallelization, we use the lock-free algorithm to cancel the coupling of the head pointer and the tail pointer. This optimization lowers the cost of the queue operation, and reduces the cost of thread blocking.
针对连接级别并行方式的特点,本文使用单生产者-单消费者无锁队列算法消除了任务队列的头指针和尾指针的耦合关系,降低了队列相关操作的开销,同时减少了线程阻塞带来的开销。
英语网 · 初中英语语法
英语网 · 双语新闻
英语网 · 少儿英语故事
英语网 · 双语娱乐资讯