queue

package
v0.0.0-...-172d49c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2019 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

one node in queue

type Queue

type Queue struct {
	Reset func(interface{})
	New   func() interface{}
	// contains filtered or unexported fields
}

lock free queue

func QueueNew

func QueueNew() *Queue

func (*Queue) DeQueue

func (self *Queue) DeQueue() (val interface{})

queue functions

func (*Queue) EnQueue

func (self *Queue) EnQueue(val interface{})

queue functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL