sync

package
v0.0.0-...-e08aa73 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

func (*Context) Close

func (c *Context) Close()

func (*Context) Open

func (c *Context) Open()

type Semaphore

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

func NewSemaphore

func NewSemaphore(initval uint) *Semaphore

func (*Semaphore) Acquire

func (s *Semaphore) Acquire() bool

func (*Semaphore) Fd

func (s *Semaphore) Fd() int

func (*Semaphore) Release

func (s *Semaphore) Release()

Jump to

Keyboard shortcuts

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