public void Add() { for (int i = 0; i < 5000; i++) { queue.Enqueue(new A0(string.Format("name:{0},id:{1}", Thread.CurrentThread.Name, i))); } }
public void Fire(int id, object sender, T e) { eventList.Enqueue(new LE_Event <T>(id, sender, e)); }
public void Add() { for (int i = 0; i < 5000; i++) { queue.Enqueue(new A0(string.Format("name:{0},id:{1}", Thread.CurrentThread.Name, i))); } }
public void Fire(int id, object sender, T e) { eventList.Enqueue(new LE_Event <T>(id, sender, e)); }