Documentation ¶
Index ¶
- Variables
- type RWMutex
- func (m *RWMutex) Init(name string)
- func (m *RWMutex) Lock() (err error)
- func (m *RWMutex) LockNamed(name string) (err error)
- func (m *RWMutex) RCount() (c int)
- func (m *RWMutex) RList() (list []string)
- func (m *RWMutex) RLock()
- func (m *RWMutex) RLockAnon()
- func (m *RWMutex) RLockNamed(name string) (rl ReadLock, err error)
- func (m *RWMutex) RUnlock()
- func (m *RWMutex) RUnlockAnon()
- func (m *RWMutex) RUnlockNamed(rl ReadLock)
- func (m *RWMutex) Unlock()
- type ReadLock
- type StringLocked
Constants ¶
This section is empty.
Variables ¶
View Source
var WAIT_TIMEOUT = time.Minute * 3
Functions ¶
This section is empty.
Types ¶
type RWMutex ¶
type RWMutex struct { Name string `bson:"-" json:"-"` // contains filtered or unexported fields }
func (*RWMutex) RUnlockAnon ¶
func (m *RWMutex) RUnlockAnon()
func (*RWMutex) RUnlockNamed ¶
type StringLocked ¶
func (*StringLocked) Get ¶
func (s *StringLocked) Get() string
func (*StringLocked) Set ¶
func (s *StringLocked) Set(value string)
Click to show internal directories.
Click to hide internal directories.