<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.parallel.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'functional.parallel.php',
    1 => 'Functional API',
    2 => 'Functional API',
  ),
  'up' => 
  array (
    0 => 'book.parallel.php',
    1 => 'parallel',
  ),
  'prev' => 
  array (
    0 => 'philosophy.parallel.php',
    1 => 'Philosophy',
  ),
  'next' => 
  array (
    0 => 'parallel.bootstrap.php',
    1 => 'parallel\\bootstrap',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/parallel/functional.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/functional.parallel.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="functional.parallel" class="reference">
 <h1 class="title">Functional API</h1>
 <div class="partintro">
  <p class="simpara">
   The <span class="classname"><a href="class.parallel-runtime.php" class="classname">parallel\Runtime</a></span> API provides a great degree of control to the power PHP programmer, and those intimately familiar with writing applications that use
   parallel concurrency.
  </p>
  <p class="para">
   The functional API provides less control in exchange for the ability to make decisions for the programmer:
   <ul class="itemizedlist">
    <li class="listitem">
    <span class="simpara">all executing runtimes are bootstrapped identically</span>
    </li>
    <li class="listitem">
    <span class="simpara">scheduling is determined by the API, not the programmer</span>
    </li>
   </ul>
   <span class="function"><a href="parallel.run.php" class="function">parallel\run()</a></span> provides the guarantee that the task will begin to execute in parallel as soon as allowed by hardware and operating system constraints, without
   needlessly creating runtimes. For most applications the functional API should be preferred.
  </p>
 </div>

 




 




<h2>Inhaltsverzeichnis</h2><ul class="chunklist chunklist_reference"><li><a href="parallel.bootstrap.php">parallel\bootstrap</a> — Bootstrapping</li><li><a href="parallel.run.php">parallel\run</a> — Execution</li></ul>
</div>
<?php manual_footer($setup); ?>