ocaml-containers/dev/containers-thread/CCPool/index.html
2021-12-02 16:42:53 +00:00

2 lines
No EOL
3.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CCPool (containers-thread.CCPool)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.0.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">containers-thread</a> &#x00BB; CCPool</nav><header class="odoc-preamble"><h1>Module <code><span>CCPool</span></code></h1></header><nav class="odoc-toc"><ul><li><a href="#thread-pool,-and-futures">Thread Pool, and Futures</a></li></ul></nav><div class="odoc-content"><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><ul class="at-tags"><li class="since"><span class="at-tag">since</span> 0.16</li></ul><div class="odoc-spec"><div class="spec type" id="type-state" class="anchored"><a href="#type-state" class="anchor"></a><code><span><span class="keyword">type</span> <span>+'a state</span></span><span> = </span></code><table><tr id="type-state.Done" class="anchored"><td class="def variant constructor"><a href="#type-state.Done" class="anchor"></a><code><span>| </span><span><span class="constructor">Done</span> <span class="keyword">of</span> <span class="type-var">'a</span></span></code></td></tr><tr id="type-state.Waiting" class="anchored"><td class="def variant constructor"><a href="#type-state.Waiting" class="anchor"></a><code><span>| </span><span><span class="constructor">Waiting</span></span></code></td></tr><tr id="type-state.Failed" class="anchored"><td class="def variant constructor"><a href="#type-state.Failed" class="anchor"></a><code><span>| </span><span><span class="constructor">Failed</span> <span class="keyword">of</span> exn</span></code></td></tr></table></div></div><div class="odoc-spec"><div class="spec module-type" id="module-type-PARAM" class="anchored"><a href="#module-type-PARAM" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> </span><span><a href="module-type-PARAM/index.html">PARAM</a></span><span> = <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec exception" id="exception-Stopped" class="anchored"><a href="#exception-Stopped" class="anchor"></a><code><span><span class="keyword">exception</span> </span><span><span class="exception">Stopped</span></span></code></div></div><div class="odoc-spec"><div class="spec module" id="module-Make" class="anchored"><a href="#module-Make" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="Make/index.html">Make</a></span><span> (<a href="Make/argument-1-P/index.html">P</a> : <a href="module-type-PARAM/index.html">PARAM</a>) : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html>