Versions in this module Expand all Collapse all v0 v0.2.0 Jun 15, 2020 Changes in this version + type SyncPoint struct + func (this *SyncPoint) IsReached() bool + func (this *SyncPoint) Reach() + func (this *SyncPoint) Sync(ctx context.Context) bool + type WaitLock interface + Release func() + Setup func(ctx context.Context) WaitLock + Wait func(ctx context.Context) bool v0.1.0 Dec 4, 2019 Changes in this version + func NewRWLock() *rwlock + func Test() + func Test1() + func Test2() + func Test3() + func Test4() + func Test5() + type Env struct + func NewEnv() *Env + func (e *Env) NewRunner(name string, locker func(notify chan<- struct{}) TestLocker) *Runner + func (e *Env) TestSeq(name string, step ...func() error) bool + func (e Env) Locker(notify chan<- struct{}) TestLocker + func (e Env) RLocker(notify chan<- struct{}) TestLocker + type Locker interface + Lock func() + Unlock func() + type RWLock interface + RLock func() + RLocker func() TestLocker + RUnlock func() + TestAndLock func() bool + TestAndRLock func() bool + type Runner struct + func (r *Runner) Blocked() error + func (r *Runner) Locked() error + func (r *Runner) NoLock() error + func (r *Runner) Step() error + type TestLocker interface + TestAndLock func() bool