package
module
Version:
v0.0.0-...-d3d2881
Opens a new window with list of versions in this module.
Published: Jul 6, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
taquilla
Golang elastic semaphores package that allows processes to run only if there's enough memory available.
Documentation
¶
Rel accepts the allotted token to the process and removes it from memory; consequently, it processes the next available process
Req accepts a title for the semaphore and an access token is returned. The caller function can then begin its execution.
func Setup(memoryRequiredInMB float64)
Setup accepts the average memory requirement for a process
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.