Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockFreeStack ¶
type LockFreeStack struct {
// contains filtered or unexported fields
}
func NewLockFreeStack ¶
func NewLockFreeStack() *LockFreeStack
func (*LockFreeStack) Pop ¶
func (s *LockFreeStack) Pop() interface{}
func (*LockFreeStack) Push ¶
func (s *LockFreeStack) Push(v interface{})
type MutexStack ¶
type MutexStack struct {
// contains filtered or unexported fields
}
func NewMutexStack ¶
func NewMutexStack() *MutexStack
func (*MutexStack) Pop ¶
func (s *MutexStack) Pop() interface{}
func (*MutexStack) Push ¶
func (s *MutexStack) Push(v interface{})
type StackInterface ¶
type StackInterface interface { Push(interface{}) Pop() interface{} }
Click to show internal directories.
Click to hide internal directories.