Liking cljdoc? Tell your friends :D

tech.queue.core-limit

Limit the number of processes running via a system where they have to request their resources before they start. If the system doesn't have them, everything blocks.

Limit the number of processes running via a system where they have to request
their resources before they start.  If the system doesn't have them, everything blocks.
raw docstring

*machine-core-count*clj


fifo-mgrclj

(fifo-mgr &
          {:keys [system-core-count]
           :or {system-core-count *machine-core-count*}})

PCoreManagercljprotocol

release-coresclj

(release-cores mgr core-count)

nonblocking returns cores to the source

nonblocking returns cores to the source

request-coresclj

(request-cores mgr core-count)

potentially blocking call, returns when cores can be satisfied

potentially blocking call, returns when cores can be satisfied

with-corescljmacro

(with-cores mgr core-count & body)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close