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>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Backend__ProcLocker (infer.Backend__ProcLocker)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../index.html">infer</a>» Backend__ProcLocker</nav><h1>Module <code>Backend__ProcLocker</code></h1></header><dl><dtclass="spec value"id="val-setup"><ahref="#val-setup"class="anchor"></a><code><spanclass="keyword">val</span> setup : unit <span>-></span> unit</code></dt><dd><p>This should be called once before trying to lock Anything.</p></dd></dl><dl><dtclass="spec value"id="val-try_lock"><ahref="#val-try_lock"class="anchor"></a><code><spanclass="keyword">val</span> try_lock : <ahref="../IR/Procname/index.html#type-t">IR.Procname.t</a><span>-></span> bool</code></dt><dd><p>true = the lock belongs to the calling process. false = the lock belongs to a different worker</p></dd></dl><dl><dtclass="spec value"id="val-unlock"><ahref="#val-unlock"class="anchor"></a><code><spanclass="keyword">val</span> unlock : <ahref="../IR/Procname/index.html#type-t">IR.Procname.t</a><span>-></span> unit</code></dt><dd><p>This will work as a cleanup function because after calling unlock all the workers that need an unlocked Proc should find it's summary already Cached. Throws if the lock had not been taken.</p></dd></dl><dl><dtclass="spec value"id="val-is_locked"><ahref="#val-is_locked"class="anchor"></a><code><spanclass="keyword">val</span> is_locked : <span>proc_filename:string</span><span>-></span> bool</code></dt></dl></div></body></html>