mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
2 lines
No EOL
2.6 KiB
HTML
2 lines
No EOL
2.6 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CCPool (containers.CCPool)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><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">containers</a> » CCPool</nav><h1>Module <code>CCPool</code></h1><h2 id="thread-pool,-and-futures"><a href="#thread-pool,-and-futures" class="anchor"></a>Thread Pool, and Futures</h2><p>Renamed and heavily updated from <code>CCFuture</code>.</p><dl><dt>since</dt><dd>0.16</dd></dl></header><dl><dt class="spec type" id="type-state"><a href="#type-state" class="anchor"></a><code><span class="keyword">type </span>+'a state</code><code><span class="keyword"> = </span></code><table class="variant"><tr id="type-state.Done" class="anchored"><td class="def constructor"><a href="#type-state.Done" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Done</span><span class="keyword"> of </span><span class="type-var">'a</span></code></td></tr><tr id="type-state.Waiting" class="anchored"><td class="def constructor"><a href="#type-state.Waiting" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Waiting</span></code></td></tr><tr id="type-state.Failed" class="anchored"><td class="def constructor"><a href="#type-state.Failed" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">Failed</span><span class="keyword"> of </span>exn</code></td></tr></table></dt></dl><div class="spec module-type" id="module-type-PARAM"><a href="#module-type-PARAM" class="anchor"></a><code><span class="keyword">module type </span><a href="module-type-PARAM/index.html">PARAM</a> = <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><dl><dt class="spec exception" id="exception-Stopped"><a href="#exception-Stopped" class="anchor"></a><code><span class="keyword">exception </span></code><code><span class="exception">Stopped</span></code></dt></dl><dl><dt class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module </span><a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-P/index.html">P</a> : <a href="index.html#module-type-PARAM">PARAM</a>) <span>-></span> <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd></dd></dl></div></body></html> |