如果你是用的队列不是线程安全的, 那么会存在隐患如果你的.net framework>=4的话 系统提供了线程安全的队列 System.Collections.Concurrent.ConcurrentQueue