ubarea ">
<h4 id="ResourcePoolBase.lock" class="doc_header"><code>ResourcePoolBase.lock</code><a href="https://github.com/fastai/fastgpu/tree/master/fastgpu/core.py#L44" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>ResourcePoolBase.lock</code>(<strong><code>ident</code></strong>, <strong><code>txt</code></strong>=<em><code>'locked'</code></em>)</p>
</blockquote>
<p>Create lockfile for <code>ident</code></p>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

<div class=