Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { ConcurrentCount *counter.Counter ConcurrencySem *semaphore.Semaphore // contains filtered or unexported fields }
func (*Manager) AcquireConcurrencySlot ¶
func (m *Manager) AcquireConcurrencySlot()
func (*Manager) AddConcurrent ¶
func (m *Manager) AddConcurrent()
func (*Manager) DecConcurrent ¶
func (m *Manager) DecConcurrent()
func (*Manager) IsConcurrencyUnlimited ¶
func (*Manager) ReleaseConcurrencySlot ¶
func (m *Manager) ReleaseConcurrencySlot()
Click to show internal directories.
Click to hide internal directories.