<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.swoole-coroutine-lock.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'swoole-coroutine-lock.unlock.php',
    1 => 'Swoole\\Coroutine\\Lock::unlock',
    2 => 'Release the lock',
  ),
  'up' => 
  array (
    0 => 'class.swoole-coroutine-lock.php',
    1 => 'Swoole\\Coroutine\\Lock',
  ),
  'prev' => 
  array (
    0 => 'swoole-coroutine-lock.trylock.php',
    1 => 'Swoole\\Coroutine\\Lock::trylock',
  ),
  'next' => 
  array (
    0 => 'class.swoole-event.php',
    1 => 'Swoole\\Event',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/swoole/swoole/coroutine/lock/unlock.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="swoole-coroutine-lock.unlock" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Swoole\Coroutine\Lock::unlock</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">Swoole\Coroutine\Lock::unlock</span> &mdash; <span class="dc-title">Release the lock</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-swoole-coroutine-lock.unlock-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Swoole\Coroutine\Lock::unlock</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

 </div>


 <div class="refsect1 behavior" id="refsect1-swoole-coroutine-lock.unlock-behavior">
  <h3 class="title">Unlock Behavior</h3>
  <ol type="1">
   <li class="listitem">
    <p class="para">
     <em>With io_uring futex:</em> the system will precisely wake up one coroutine in the waiting queue.
    </p>
   </li>
   <li class="listitem">
    <p class="para">
     <em>Without io_uring futex:</em> waiting coroutines need to wait for their backoff time to end
     and compete to reacquire the lock.
    </p>
   </li>
  </ol>
 </div>


 <div class="refsect1 parameters" id="refsect1-swoole-coroutine-lock.unlock-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">Questa funzione non contiene parametri.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swoole-coroutine-lock.unlock-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Returns <code class="literal">true</code> if the lock was released successfully,
   <code class="literal">false</code> otherwise.
  </p>
 </div>

</div><?php manual_footer($setup); ?>