sem

package module
v0.0.0-...-d7b6dd7 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: GPL-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Semaphore

type Semaphore [32]byte

func New

func New(value uint) (*Semaphore, error)

func (*Semaphore) Destroy

func (sem *Semaphore) Destroy() error

func (*Semaphore) Init

func (sem *Semaphore) Init(value uint) error

func (*Semaphore) Post

func (sem *Semaphore) Post() error

func (*Semaphore) TryWait

func (sem *Semaphore) TryWait() error

func (*Semaphore) Wait

func (sem *Semaphore) Wait() error

Jump to

Keyboard shortcuts

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