function.sem-remove.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 87 行

HTML
87
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Remove a semaphore</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.sem-release.html">sem_release</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.shm-attach.html">shm_attach</a></div> <div class="up"><a href="ref.sem.html">Semaphore Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.sem-remove" class="refentry"> <div class="refnamediv">  <h1 class="refname">sem_remove</h1>  <p class="verinfo">(PHP 4 &gt;= 4.0.7, PHP 5)</p><p class="refpurpose"><span class="refname">sem_remove</span> &mdash; <span class="dc-title">Remove a semaphore</span></p> </div>  <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">bool</span> <span class="methodname"><b><b>sem_remove</b></b></span>    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$sem_identifier</tt></span>   )</div>  <p class="para rdfs-comment">   <b>sem_remove()</b> removes the given semaphore.  </p>  <p class="para">   After removing the semaphore, it is no more accessible.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">sem_identifier</tt></i></span>     <dd>      <p class="para">       A semaphore resource identifier as returned       by <a href="function.sem-get.html" class="function">sem_get()</a>.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns <b><tt>TRUE</tt></b> on success or <b><tt>FALSE</tt></b> on failure.  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.sem-get.html" class="function" rel="rdfs-seeAlso">sem_get()</a></li>    <li class="member"><a href="function.sem-release.html" class="function" rel="rdfs-seeAlso">sem_release()</a></li>    <li class="member"><a href="function.sem-acquire.html" class="function" rel="rdfs-seeAlso">sem_acquire()</a></li>   </ul>  </p> </div>  </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.sem-release.html">sem_release</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.shm-attach.html">shm_attach</a></div> <div class="up"><a href="ref.sem.html">Semaphore Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?