Пример #1
0
 public BlockingQueueEnumerator(BlockingQueue <T> queue)
 {
     m_queue = queue;
 }
Пример #2
0
 public BlockedCollector(BlockingQueue <string> queue, string rootpath, FilenameFilter filter, FileSystemInteraction folderList, FileSystemInteraction fileList)
 {
     m_queue = queue;
     System.Threading.Thread t = new System.Threading.Thread(BlockedThreadRunner);
     t.Start(new object[] { rootpath, filter, folderList, fileList });
 }
Пример #3
0
 public BlockingQueueAsEnumerable(BlockingQueue <T> queue)
 {
     m_enumerator = new BlockingQueueEnumerator <T>(queue);
 }