sync_queue

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2016 License: Apache-2.0 Imports: 2 Imported by: 1

README

goSyncQueue

Synchronious queues with infinite buffer size in Golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncQueue

type SyncQueue interface {
	Pop() interface{}
	TryPop() (interface{}, bool)
	Push(v interface{})
	Close()
	Len() int
}

func NewSyncQueue

func NewSyncQueue() SyncQueue

func NewSyncQueueByChan

func NewSyncQueueByChan() SyncQueue

func NewSyncQueueWithGoroutine

func NewSyncQueueWithGoroutine() SyncQueue

Jump to

Keyboard shortcuts

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