(event interface{})
| 40 | } |
| 41 | |
| 42 | func (this *RWQueue) Push(event interface{}) { |
| 43 | this.write_lock.Lock() |
| 44 | this.write_queue.push(event) |
| 45 | this.write_lock.Unlock() |
| 46 | } |
| 47 | |
| 48 | func (this *RWQueue) Get(event_list []interface{}, count uint32) (uint32, int) { |
| 49 | this.read_lock.Lock() |
no test coverage detected