Make Lock/Unlock optional
HackerQacker opened this issue · 0 comments
HackerQacker commented
Hello!
I think that making Lock/Unlock optional would be vital, for instance, if someone will wrap and lock there (wrapper).
if pq.autoLock { pq.Lock() defer pq.Unlock() }