currently creating constructor for RingBuffer

This commit is contained in:
Saxon1 2017-12-03 09:31:19 +10:30
parent 091c740cd5
commit df64b89587
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ func (rb *RingBuffer) Make(size int, elementsize int) {
rb.mutex = sync.mutex{} rb.mutex = sync.mutex{}
} }
func NewRingBuffer(size int, elementSize int){
}
/* /*
Get provides the address to the next empty element in the RingBuffer. Get provides the address to the next empty element in the RingBuffer.
An error is returned if the buffer is full, or there has already been An error is returned if the buffer is full, or there has already been