semaphore

package
v0.0.0-...-3fff119 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2015 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Semaphore

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

func New

func New() *Semaphore

func (*Semaphore) Add

func (sm *Semaphore) Add(i int)

func (*Semaphore) Done

func (sm *Semaphore) Done()

func (*Semaphore) Reset

func (sm *Semaphore) Reset()

func (*Semaphore) Wait

func (sm *Semaphore) Wait()

Jump to

Keyboard shortcuts

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