(name string, size int)
| 133 | } |
| 134 | |
| 135 | func NewEventPool(name string, size int) *EventPool { |
| 136 | return &EventPool{name, make(chan *QueueEvent, size), time.Now(), false} |
| 137 | } |
| 138 | |
| 139 | func (ep *EventPool) putQueueEvent(event *QueueEvent) error { |
| 140 | select { |