ef="Protocols/Lock.html">Lock</a></code>.</p>

<p>The user of a <code>LockedResource</code> accesses the resource via a read or write
function. The resource itself is available only within the scope of the
passed-in function, during which time the appropriate lock is guaranteed
to be held.</p>

                        <a href="Classes/LockedResource.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration