Documentation
¶
Overview ¶
package chainlock implements a mutex whose Lock and Unlock methods return the lock itself, to enable chaining.
Intended Usage
defer s.lock().unlock()
// drop lock while waiting for wait group
func() {
defer a.l.Unlock().Lock()
fssesDone.Wait()
}()
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.