Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockFreeStack ¶ added in v0.3.0
type LockFreeStack struct {
// contains filtered or unexported fields
}
LockFreeStack implements lock-free freelist based stack.
func NewLockFreeStack ¶ added in v0.3.0
func NewLockFreeStack() *LockFreeStack
NewLockFreeStack creates a new lock-free queue.
func (*LockFreeStack) Pop ¶ added in v0.3.0
func (s *LockFreeStack) Pop() interface{}
Pop pops value from the top of the stack.
func (*LockFreeStack) Push ¶ added in v0.3.0
func (s *LockFreeStack) Push(v interface{})
Push pushes a value on top of the stack.
Click to show internal directories.
Click to hide internal directories.