(binary-priority-blocking-queue)Unbounded blocking queue where high priority tasks (see ham-fisted.protocols/is-high-priority?)
are always taken before low priority tasks.
Unbounded blocking queue where high priority tasks (see [[ham-fisted.protocols/is-high-priority?]]) are always taken before low priority tasks.
(binary-priority-executor &
{:keys [n-threads thread-name-prefix
rejected-execution-handler thread-factory
daemon-threads?]
:or {daemon-threads? true}
:as _options})(cooperative-thread-pool-executor n-threads thread-factory queue handler)(future-task c is-high?)(is-current-thread-high-priority?)(is-in-binary-priority-task?)(managed-block blocker)(with-high-priority & code)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |