Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoTickets = errors.New("semaphore: could not aquire semaphore") ErrIllegalRelease = errors.New("semaphore: can't release the semaphore without acquiring it first") )
Functions ¶
This section is empty.
Types ¶
type SemInterface ¶
SemInterface contains the behavior of a semaphore that can be acquired and/or released. Other types implement methods in the interface to implement a mutex
Click to show internal directories.
Click to hide internal directories.