<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.sem.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'es',
  ),
  'this' => 
  array (
    0 => 'function.msg-remove-queue.php',
    1 => 'msg_remove_queue',
    2 => 'Destruye una cola de mensajes',
  ),
  'up' => 
  array (
    0 => 'ref.sem.php',
    1 => 'Funciones de Sem&aacute;foro',
  ),
  'prev' => 
  array (
    0 => 'function.msg-receive.php',
    1 => 'msg_receive',
  ),
  'next' => 
  array (
    0 => 'function.msg-send.php',
    1 => 'msg_send',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/sem/functions/msg-remove-queue.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.msg-remove-queue" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">msg_remove_queue</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">msg_remove_queue</span> &mdash; <span class="dc-title">Destruye una cola de mensajes</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.msg-remove-queue-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>msg_remove_queue</strong></span>(<span class="methodparam"><span class="type"><a href="class.sysvmessagequeue.php" class="type SysvMessageQueue">SysvMessageQueue</a></span> <code class="parameter">$queue</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   <span class="function"><strong>msg_remove_queue()</strong></span> destruye la cola de mensajes
   identificada por <code class="parameter">queue</code>. Únicamente debe utilizarse esta
   función cuando todos los procesos hayan finalizado su trabajo en la
   cola de mensajes, y se desee liberar los recursos.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.msg-remove-queue-parameters">
  <h3 class="title">Parámetros</h3>
  <dl>
   
    <dt><code class="parameter">queue</code></dt>
    <dd>
     <span class="simpara">
      La cola de mensajes
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.msg-remove-queue-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="simpara">
   Esta función retorna <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> en caso de éxito o <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si ocurre un error.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.msg-remove-queue-changelog">
  <h3 class="title">Historial de cambios</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Versión</th>
      <th>Descripción</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">queue</code> ahora requiere una <span class="classname"><a href="class.sysvmessagequeue.php" class="classname">SysvMessageQueue</a></span>;
       anteriormente se esperaba un <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.msg-remove-queue-seealso">
  <h3 class="title">Ver también</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.msg-get-queue.php" class="function" rel="rdfs-seeAlso">msg_get_queue()</a> - Crea o se adhiere a una cola de mensajes</span></li>
   <li><span class="function"><a href="function.msg-receive.php" class="function" rel="rdfs-seeAlso">msg_receive()</a> - Recibe un mensaje desde una cola de mensajes</span></li>
   <li><span class="function"><a href="function.msg-stat-queue.php" class="function" rel="rdfs-seeAlso">msg_stat_queue()</a> - Devuelve informaci&oacute;n sobre la cola de mensajes</span></li>
   <li><span class="function"><a href="function.msg-set-queue.php" class="function" rel="rdfs-seeAlso">msg_set_queue()</a> - Modifica informaci&oacute;n en la cola de mensajes</span></li>
  </ul>
 </div>


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