queue

package
v0.0.0-...-372ebbf Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const NODE_POOL_CELL_COUNT = 8
View Source
const NODE_POOL_MAX_COUNT = 4096

Variables

This section is empty.

Functions

This section is empty.

Types

type CondQueue

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

func NewCondQueue

func NewCondQueue() *CondQueue

func (*CondQueue) Get

func (c *CondQueue) Get(list []interface{}, count uint32) uint32

func (*CondQueue) Push

func (c *CondQueue) Push(msg interface{})

type Node

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

type Queue

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

func NewQueue

func NewQueue() *Queue

type RWQueue

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

func NewRWQueue

func NewRWQueue() *RWQueue

func (*RWQueue) Empty

func (q *RWQueue) Empty() bool

func (*RWQueue) Get

func (q *RWQueue) Get(event_list []interface{}, count uint32) (uint32, int)

func (*RWQueue) GetOne

func (q *RWQueue) GetOne() interface{}

func (*RWQueue) Push

func (q *RWQueue) Push(event interface{})

Jump to

Keyboard shortcuts

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