您的位置:首页 > 产品设计 > UI/UE

using blocking queue to implement multi-threaded FIFO execution

2009-05-17 13:49 423 查看
For some situation, we need to implement a FIFO execution model using multiple threads, like the following watchdog scenario.using System;

using System.Collections.Generic;

using System.Threading;

namespace TestWatchDog

If I were to implement it, I probably will do something like the one in this article, which is more intuitive, or in a more traditional way, http://www.geekscafe.net/post/Blocking-Queues-Threade28099s-Communication-in-C.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: