races

package
v0.0.0-...-4db4e96 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

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

func (*Counter) Inc

func (c *Counter) Inc()

func (*Counter) Set

func (c *Counter) Set(v int)

func (*Counter) Value

func (c *Counter) Value() int

type MisSynchronizedCounter

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

func (MisSynchronizedCounter) Inc

func (c MisSynchronizedCounter) Inc()

func (*MisSynchronizedCounter) Set

func (c *MisSynchronizedCounter) Set(v int)

func (*MisSynchronizedCounter) Value

func (c *MisSynchronizedCounter) Value() int

type SynchronizedCounter

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

func (*SynchronizedCounter) Inc

func (c *SynchronizedCounter) Inc()

func (*SynchronizedCounter) Set

func (c *SynchronizedCounter) Set(v int)

func (*SynchronizedCounter) Value

func (c *SynchronizedCounter) Value() int

Jump to

Keyboard shortcuts

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