ocaml-containers/dev/containers-thread/CCPool/index.html
2023-02-15 17:36:59 +00:00

2 lines
No EOL
3 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-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><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 anchored" id="type-state"><a href="#type-state" class="anchor"></a><code><span><span class="keyword">type</span> <span>+'a state</span></span><span> = </span></code><ol><li id="type-state.Done" class="def variant constructor anchored"><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></li><li id="type-state.Waiting" class="def variant constructor anchored"><a href="#type-state.Waiting" class="anchor"></a><code><span>| </span><span><span class="constructor">Waiting</span></span></code></li><li id="type-state.Failed" class="def variant constructor anchored"><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></li></ol></div></div><div class="odoc-spec"><div class="spec module-type anchored" id="module-type-PARAM"><a href="#module-type-PARAM" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</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 anchored" id="exception-Stopped"><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 anchored" id="module-Make"><a href="#module-Make" class="anchor"></a><code><span><span class="keyword">module</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>