.NET – Command Queue 구현

즐겨쓰는 Command Queue 방식. Polling 하는 Thread를 따로 두지 않는다. Command Interface interface IExecutable { void Execute(); } Command Executer /// /// The executer with queue. /// internal class ExecuterWithQueue { /// /// The is executing. /// private bool isExecuting; /// /// The queue. /// private ConcurrentQueue queue; /// /// Gets Queue. /// private ConcurrentQueue…

Read More