g-sym">ev/acquire-lock</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/f92f3eb/src/core/ev.c#L3079">source</a></span> <pre class="binding-text">(ev/acquire-lock lock)

Acquire a lock such that this operating system thread is the only thread with access to this resource. This will block this entire thread until the lock becomes available, and will not yield to other fibers on this system thread.</pre><a href="https://janetdocs.or