This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__Tasks (infer.InferModules__Tasks)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc %%VERSION%%"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» InferModules__Tasks</nav><h1>Module <code>InferModules__Tasks</code></h1></header><dl><dtclass="spec type"id="type-doer"><ahref="#type-doer"class="anchor"></a><code><spanclass="keyword">type</span><span>'a doer</span></code><code> = <spanclass="type-var">'a</span><span>-></span> unit</code></dt><dtclass="spec type"id="type-task_generator"><ahref="#type-task_generator"class="anchor"></a><code><spanclass="keyword">type</span><span>'a task_generator</span></code><code> = <span><spanclass="type-var">'a</span><ahref="../../InferBase/InferBase/ProcessPool/index.html#type-task_generator">InferBase.ProcessPool.task_generator</a></span></code></dt></dl><dl><dtclass="spec value"id="val-gen_of_list"><ahref="#val-gen_of_list"class="anchor"></a><code><spanclass="keyword">val</span> gen_of_list : <span><spanclass="type-var">'a</span> list</span><span>-></span><span><spanclass="type-var">'a</span><ahref="index.html#type-task_generator">task_generator</a></span></code></dt><dtclass="spec value"id="val-run_sequentially"><ahref="#val-run_sequentially"class="anchor"></a><code><spanclass="keyword">val</span> run_sequentially : <span>f:<span><spanclass="type-var">'a</span><ahref="index.html#type-doer">doer</a></span></span><span>-></span><span><spanclass="type-var">'a</span> list</span><span>-></span> unit</code></dt><dd><p>Run the tasks sequentially</p></dd></dl><dl><dtclass="spec value"id="val-fork_protect"><ahref="#val-fork_protect"class="anchor"></a><code><spanclass="keyword">val</span> fork_protect : <span>f:<span>(<spanclass="type-var">'a</span><span>-></span><spanclass="type-var">'b</span>)</span></span><span>-></span><spanclass="type-var">'a</span><span>-></span><spanclass="type-var">'b</span></code></dt><dd><p>does the bookkeeping necessary to safely execute an infer function <code>f</code> after a call to fork(2)</p></dd></dl><dl><dtclass="spec module"id="module-Runner"><ahref="#module-Runner"class="anchor"></a><code><spanclass="keyword">module</span><ahref="Runner/index.html">Runner</a> : <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></dt><dd><p>A runner accepts new tasks repeatedly for parallel execution</p></dd></dl></div></body></html>