Documentation
¶
Overview ¶
Package ctxlock provides cancellation-aware serialization for invocation sinks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mutex ¶
type Mutex struct {
// contains filtered or unexported fields
}
Mutex is a zero-value-ready mutex. It must not be copied after first use. Callers must check ctx.Err after checking terminal state and before starting effects.
Click to show internal directories.
Click to hide internal directories.