Skip to content

Instantly share code, notes, and snippets.

@raczman
raczman / RWMutex.go
Created April 6, 2012 09:51
RWMutex with TryLock
package sync
import (
"sync"
"sync/atomic"
)
type nullLocker struct {}
func (n *nullLocker) Lock() {}

Keybase proof

I hereby claim:

  • I am raczman on github.
  • I am raczman (https://keybase.io/raczman) on keybase.
  • I have a public key ASBqep4HU0Oa2UgwCvg9Q7o9DLCPb6j2_utcuxCDYi8ZAQo

To claim this, I am signing this object: