()
| 70 | } |
| 71 | |
| 72 | func (device *Device) GetInboundElementsContainer() *QueueInboundElementsContainer { |
| 73 | c := device.pool.inboundElementsContainer.Get().(*QueueInboundElementsContainer) |
| 74 | c.Mutex = sync.Mutex{} |
| 75 | return c |
| 76 | } |
| 77 | |
| 78 | func (device *Device) PutInboundElementsContainer(c *QueueInboundElementsContainer) { |
| 79 | for i := range c.elems { |
no test coverage detected