package
Version:
v0.0.0-...-fd2add7
Opens a new window with list of versions in this module.
Published: Nov 21, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package sched contains primitives for scheduling
Quota behaves like sync.Mutex, except it allows up to a given limit of concurrent lock holders.
NewQuota creates a new quota with limit m.
Lock blocks until there are fewer than limit unclosed sessions.
A session begins when Open returns.
End undoes one previous Begin.
Init resets this limiter and sets its limit to m.
Source Files
¶
Directories
¶
Package limiter schedules job execution while maintaining an upper limit on concurrency
|
Package limiter schedules job execution while maintaining an upper limit on concurrency |
Click to show internal directories.
Click to hide internal directories.