<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.pcntl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'intro.pcntl.php',
    1 => 'Вступ',
    2 => 'Вступ',
  ),
  'up' => 
  array (
    0 => 'book.pcntl.php',
    1 => 'PCNTL',
  ),
  'prev' => 
  array (
    0 => 'book.pcntl.php',
    1 => 'PCNTL',
  ),
  'next' => 
  array (
    0 => 'pcntl.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/pcntl/book.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intro.pcntl" class="preface">
  <h1 class="title">Вступ</h1>
  <p class="para">
   Process Control support in PHP implements the Unix style of
   process creation, program execution, signal handling and process
   termination. Process Control should not be enabled within a
   web server environment and unexpected results may happen if any
   Process Control functions are used within a web server environment.
  </p>
  <p class="para">
   This documentation is intended to explain the general usage of
   each of the Process Control functions. For detailed information
   about Unix process control you are encouraged to consult your
   systems documentation including fork(2), waitpid(2) and signal(2)
   or a comprehensive reference such as Advanced Programming in the
   UNIX Environment by W. Richard Stevens (Addison-Wesley).
  </p>
  <p class="para">
   PCNTL now uses ticks as the signal handle callback mechanism, which is
   much faster than the previous mechanism. This change follows the same
   semantics as using &quot;user ticks&quot;. You use the <span class="function"><strong>declare()</strong></span> 
   statement to specify the locations in your program where callbacks are
   allowed to occur. This allows you to minimize the overhead of handling
   asynchronous events. In the past, compiling PHP with pcntl enabled would
   always incur this overhead, whether or not your script actually used
   pcntl.
  </p>

  <blockquote class="note"><p><strong class="note">Зауваження</strong>: <span class="simpara">Для Windows-платформ це
розширення недоступне.</span></p></blockquote>
 </div><?php manual_footer($setup); ?>