<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.swoole-channel.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'swoole-channel.construct.php',
    1 => 'Swoole\\Channel::__construct',
    2 => 'Construit un canal Swoole',
  ),
  'up' => 
  array (
    0 => 'class.swoole-channel.php',
    1 => 'Swoole\\Channel',
  ),
  'prev' => 
  array (
    0 => 'class.swoole-channel.php',
    1 => 'Swoole\\Channel',
  ),
  'next' => 
  array (
    0 => 'swoole-channel.destruct.php',
    1 => 'Swoole\\Channel::__destruct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/swoole/swoole/channel/construct.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="swoole-channel.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Swoole\Channel::__construct</h1>
  <p class="verinfo">(PECL swoole &gt;= 1.9.0)</p><p class="refpurpose"><span class="refname">Swoole\Channel::__construct</span> &mdash; <span class="dc-title">Construit un canal Swoole</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-swoole-channel.construct-description">
  <h3 class="title">Description</h3>
  <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Swoole\Channel::__construct</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$size</code></span>)</div>

  <p class="para rdfs-comment">
    Un canal Swoole est une structure de données en mémoire qui fonctionne comme Chan en Golang, implémentée sur la base de
    mémoire partagée et verrous mutex. Il peut être utilisé comme une file de messages haute performance en mémoire.
    Construisez un canal swoole avec une taille fixe. La taille minimale d&#039;un canal swoole est de 64 Ko.
    Des exceptions seront levées s&#039;il n&#039;y a pas assez de mémoire.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-swoole-channel.construct-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">size</code></dt>
    <dd>
     <p class="para">
      La taille du canal Swoole.
     </p>
    </dd>
   
  </dl>
 </div>


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