Skip to content

Commit

Permalink
deploy: 9a598b1
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Oct 18, 2024
1 parent 5247c2f commit 15ccdb7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
3 changes: 2 additions & 1 deletion moonpool/Moonpool/Fut/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion picos/Picos/Fiber/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<span><span class="type-var">'x</span> <span class="arrow">&#45;&gt;</span></span>
<span><span class="type-var">'y</span> <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span><a href="../Trigger/index.html#type-t">Trigger.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'x</span> <span class="arrow">&#45;&gt;</span></span> <span><span class="type-var">'y</span> <span class="arrow">&#45;&gt;</span></span> unit)</span> <span class="arrow">&#45;&gt;</span></span>
bool</span></code></div><div class="spec-doc"><p><code>try_suspend fiber trigger x y resume</code> tries to suspend the <code>fiber</code> to await for the <code>trigger</code> to be <a href="../Trigger/index.html#val-signal" title="Trigger.signal">signaled</a>. If the result is <code>false</code>, then the <code>trigger</code> is guaranteed to be in the signaled state and the fiber should be eventually resumed. If the result is <code>true</code>, then the fiber was suspended, meaning that the <code>trigger</code> will have had the <code>resume</code> action <a href="../Trigger/index.html#val-on_signal" title="Trigger.on_signal">attached</a> to it and the trigger has potentially been <a href="../Computation/index.html#val-try_attach" title="Computation.try_attach">attached</a> to the <code>computation</code> of the fiber.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-unsuspend"><a href="#val-unsuspend" class="anchor"></a><code><span><span class="keyword">val</span> unsuspend : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Trigger/index.html#type-t">Trigger.t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div><div class="spec-doc"><p><code>unsuspend fiber trigger</code> makes sure that the <code>trigger</code> will not be attached to the computation of the <code>fiber</code>. Returns <code>false</code> in case the fiber has been canceled and propagation of cancelation is not forbidden. Otherwise returns <code>true</code>.</p><p>⚠️ The trigger must be in the signaled state!</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-resume"><a href="#val-resume" class="anchor"></a><code><span><span class="keyword">val</span> resume :
bool</span></code></div><div class="spec-doc"><p><code>try_suspend fiber trigger x y resume</code> tries to suspend the <code>fiber</code> to await for the <code>trigger</code> to be <a href="../Trigger/index.html#val-signal" title="Trigger.signal">signaled</a>. If the result is <code>false</code>, then the <code>trigger</code> is guaranteed to be in the signaled state and the fiber should be eventually resumed. If the result is <code>true</code>, then the fiber was suspended, meaning that the <code>trigger</code> will have had the <code>resume</code> action <a href="../Trigger/index.html#val-on_signal" title="Trigger.on_signal">attached</a> to it and the trigger has potentially been <a href="../Computation/index.html#val-try_attach" title="Computation.try_attach">attached</a> to the <code>computation</code> of the fiber.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-unsuspend"><a href="#val-unsuspend" class="anchor"></a><code><span><span class="keyword">val</span> unsuspend : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../Trigger/index.html#type-t">Trigger.t</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div><div class="spec-doc"><p><code>unsuspend fiber trigger</code> makes sure that the <code>trigger</code> will not be attached to the computation of the <code>fiber</code>. Returns <code>false</code> in case the fiber has been canceled and propagation of cancelation is not forbidden. Otherwise returns <code>true</code>.</p><ul class="at-tags"><li class="raises"><span class="at-tag">raises</span> <code>Invalid_argument</code> <p>if the trigger is not in the signaled state.</p></li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-resume"><a href="#val-resume" class="anchor"></a><code><span><span class="keyword">val</span> resume :
<span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span>
<span><span><span>(<span><span>(exn * <a href="../../../ocaml/Stdlib/Printexc/index.html#type-raw_backtrace">Stdlib.Printexc.raw_backtrace</a>)</span> option</span>, <span class="type-var">'r</span>)</span>
<a href="../../../ocaml/Stdlib/Effect/Deep/index.html#type-continuation">Stdlib.Effect.Deep.continuation</a></span> <span class="arrow">&#45;&gt;</span></span>
Expand Down
19 changes: 11 additions & 8 deletions picos/_doc-dir/odoc-pages/index.mld
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{0 Picos — Interoperable effects based concurrency}

This packages contains the core {!Picos} interface library and auxiliary
libraries for dealing with the OCaml multithreading architecture.

{1 Libraries}

{!modules:
Picos
Picos_domain
Picos_thread
}

{1 Introduction}

{!Picos} is a {{:https://en.wikipedia.org/wiki/Systems_programming} systems
Expand Down Expand Up @@ -126,14 +137,6 @@ it is perhaps illuminating to explicitly mention some of those:
Let's build an incredible ecosystem of interoperable concurrent programming
libraries and frameworks!

{1 Libraries}

{!modules:
Picos
Picos_domain
Picos_thread
}

{1 Conventions}

Many operation in the Picos libraries use
Expand Down
Loading

0 comments on commit 15ccdb7

Please sign in to comment.