You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.2 KiB

This file contains invisible Unicode characters!

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>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tasks (infer.Backend.Tasks)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">Backend</a> &#x00BB; Tasks</nav><h1>Module <code>Backend.Tasks</code></h1></header><dl><dt class="spec type" id="type-doer"><a href="#type-doer" class="anchor"></a><code><span class="keyword">type</span> <span>('a, 'b) doer</span></code><code> = <span class="type-var">'a</span> <span>&#45;&gt;</span> <span><span class="type-var">'b</span> option</span></code></dt></dl><dl><dt class="spec value" id="val-run_sequentially"><a href="#val-run_sequentially" class="anchor"></a><code><span class="keyword">val</span> run_sequentially : <span>f:<span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <a href="index.html#type-doer">doer</a></span></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> list</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>Run the tasks sequentially</p></dd></dl><dl><dt class="spec value" id="val-fork_protect"><a href="#val-fork_protect" class="anchor"></a><code><span class="keyword">val</span> fork_protect : <span>f:<span>(<span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="type-var">'b</span>)</span></span> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> <span class="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><dt class="spec module" id="module-Runner"><a href="#module-Runner" class="anchor"></a><code><span class="keyword">module</span> <a href="Runner/index.html">Runner</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>A runner accepts new tasks repeatedly for parallel execution</p></dd></dl></div></body></html>