Documentation ¶
Index ¶
Constants ¶
View Source
const ( Locked int32 = 1 Woken int32 = 2 WaiterShift int32 = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleMutexImplCAS ¶
type SimpleMutexImplCAS struct { }
func NewSimpleMutexImpl ¶
func NewSimpleMutexImpl() *SimpleMutexImplCAS
func (*SimpleMutexImplCAS) Description ¶
func (s *SimpleMutexImplCAS) Description() string
func (*SimpleMutexImplCAS) Name ¶
func (s *SimpleMutexImplCAS) Name() base.Name
type SimpleMutexImplSema ¶
type SimpleMutexImplSema struct { }
func NewSimpleMutexImplSema ¶
func NewSimpleMutexImplSema() *SimpleMutexImplSema
func (*SimpleMutexImplSema) Description ¶
func (s *SimpleMutexImplSema) Description() string
func (*SimpleMutexImplSema) Name ¶
func (s *SimpleMutexImplSema) Name() base.Name
type SimpleMutexImplSemaCAS ¶
type SimpleMutexImplSemaCAS struct { }
func NewSimpleMutexImplSemaCAS ¶
func NewSimpleMutexImplSemaCAS() *SimpleMutexImplSemaCAS
func (*SimpleMutexImplSemaCAS) Description ¶
func (s *SimpleMutexImplSemaCAS) Description() string
func (*SimpleMutexImplSemaCAS) Name ¶
func (s *SimpleMutexImplSemaCAS) Name() base.Name
type SimpleMutexImplSemaCas2 ¶
type SimpleMutexImplSemaCas2 struct{}
func NewSimpleMutexImplSemaCas2 ¶
func NewSimpleMutexImplSemaCas2() *SimpleMutexImplSemaCas2
func (*SimpleMutexImplSemaCas2) Description ¶
func (s *SimpleMutexImplSemaCas2) Description() string
func (*SimpleMutexImplSemaCas2) Name ¶
func (s *SimpleMutexImplSemaCas2) Name() base.Name
type SimpleMutexImplV0 ¶
type SimpleMutexImplV0 struct { }
func NewSimpleMutexImplV0 ¶
func NewSimpleMutexImplV0() *SimpleMutexImplV0
func (*SimpleMutexImplV0) Description ¶
func (s *SimpleMutexImplV0) Description() string
func (*SimpleMutexImplV0) Name ¶
func (s *SimpleMutexImplV0) Name() base.Name
Click to show internal directories.
Click to hide internal directories.