Skip to content

Instantly share code, notes, and snippets.

@pacuna

pacuna/U8fs+UoJ.go

Created Jun 15, 2020
Embed
What would you like to do?
type node struct {
mu sync.Mutex
item []byte
key uint64
next *node
}
func (n *node) lock() {
n.mu.Lock()
}
func (n *node) unlock() {
n.mu.Unlock()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.