awnumar/memguard

Why does Buffer.Freeze & Buffer.Melt use RLock to protect mutation?

justjake opened this issue · 1 comments

See:

func (b *Buffer) Freeze() {

Should this not require Lock() to avoid conflict with Melt()? What is the reasoning behind RLock()?

Well spotted, thanks.