Documentation
¶
Index ¶
- func IsChannelClosed(ch chan string) bool
- type Barrier
- type Vec2D
- func (v *Vec2D) Add(other *Vec2D) *Vec2D
- func (v *Vec2D) AddI(other *Vec2D) *Vec2D
- func (v *Vec2D) Copy() *Vec2D
- func (v *Vec2D) Length() float64
- func (v *Vec2D) Noise(stddev float64) *Vec2D
- func (v *Vec2D) NoiseI(stddev float64) *Vec2D
- func (v *Vec2D) Normalize() *Vec2D
- func (v *Vec2D) NormalizeI() *Vec2D
- func (v *Vec2D) Scale(scale float64) *Vec2D
- func (v *Vec2D) ScaleI(scale float64) *Vec2D
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsChannelClosed ¶
Types ¶
type Barrier ¶
type Barrier struct {
// contains filtered or unexported fields
}
Barrier for handling "complex" process synchronization
func (*Barrier) Resolve ¶
func (b *Barrier) Resolve()
Resolve the current execution of this process.
Click to show internal directories.
Click to hide internal directories.