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