Documentation
¶
Overview ¶
Package sync provides bindings for Go's sync package and concurrency primitives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types []byte
Functions ¶
Types ¶
type AsyncMutex ¶
type AsyncMutex struct {
// contains filtered or unexported fields
}
AsyncMutex wraps a sync.RWMutex with async-friendly locking operations.
func NewAsyncMutex ¶
func NewAsyncMutex(mu *sync.RWMutex, el *eventloop.EventLoop) *AsyncMutex
func (*AsyncMutex) RUnlock ¶
func (m *AsyncMutex) RUnlock()
func (*AsyncMutex) Unlock ¶
func (m *AsyncMutex) Unlock()
Click to show internal directories.
Click to hide internal directories.