This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
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>Tasks (infer.Backend.Tasks)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.0"/><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>»<ahref="../index.html">Backend</a>» Tasks</nav><h1>Module <code>Backend.Tasks</code></h1></header><dl><dtclass="spec type"id="type-doer"><ahref="#type-doer"class="anchor"></a><code><spanclass="keyword">type</span><span>('a, 'b) doer</span></code><code> = <spanclass="type-var">'a</span><span>-></span><span><spanclass="type-var">'b</span> option</span></code></dt></dl><dl><dtclass="spec value"id="val-run_sequentially"><ahref="#val-run_sequentially"class="anchor"></a><code><spanclass="keyword">val</span> run_sequentially : <span>f:<span><span>(<spanclass="type-var">'a</span>,<spanclass="type-var">'b</span>)</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>