Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WaitGroups ¶
type WaitGroups struct {
// contains filtered or unexported fields
}
WaitGroups represents a mutex map of a ID with an associated sync.WaitGroup slice.
func NewWaitGroups ¶
func NewWaitGroups() *WaitGroups
NewWaitGroups return a new waitGroups pointer.
func (*WaitGroups) Done ¶
func (wG *WaitGroups) Done(iD int64)
Done sets the first wait group in the wait group slice with the given ID to done and removes it from the slice.
func (*WaitGroups) Wait ¶
func (wG *WaitGroups) Wait(iD int64)
Wait waits for the last wait group in the wait group slice with the given ID.
Click to show internal directories.
Click to hide internal directories.