mirror of https://bitbucket.org/ausocean/av.git
currently creating constructor for RingBuffer
This commit is contained in:
parent
091c740cd5
commit
df64b89587
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue