blocking_queue

package
v0.0.0-...-91aa13a Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockingQueue

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

阻塞队列

func New

func New(cap int) *BlockingQueue

func (*BlockingQueue) Back

func (p *BlockingQueue) Back() interface{}

func (*BlockingQueue) Empty

func (p *BlockingQueue) Empty() bool

func (*BlockingQueue) Front

func (p *BlockingQueue) Front() interface{}

func (*BlockingQueue) PopFront

func (p *BlockingQueue) PopFront() interface{}

func (*BlockingQueue) PushBack

func (p *BlockingQueue) PushBack(e interface{})

func (*BlockingQueue) Size

func (p *BlockingQueue) Size() int

Jump to

Keyboard shortcuts

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