<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="pthreads.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.thread.html">Thread</a></div> <div class="up"><a href="book.pthreads.html">pthreads</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="pthreads.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <p class="para"> The following constants are for selective inheritance: </p> <dl> <dt id="constant.pthreads_inherit_all"> <span class="term"> <strong><code>PTHREADS_INHERIT_ALL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> The default inheritance mask used when starting Threads and Workers </span> </dd> </dt> <dt id="constant.pthreads_inherit_ini"> <span class="term"> <strong><code>PTHREADS_INHERIT_INI</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Determines wether the ini entries are inherited by the new context </span> </dd> </dt> <dt id="constant.pthreads_inherit_constants"> <span class="term"> <strong><code>PTHREADS_INHERIT_CONSTANTS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Determines wether the constants are inherited by the new context </span> </dd> </dt> <dt id="constant.pthreads_inherit_classes"> <span class="term"> <strong><code>PTHREADS_INHERIT_CLASSES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Determines wether the class table is inherited by the new context </span> </dd> </dt> <dt id="constant.pthreads_inherit_functions"> <span class="term"> <strong><code>PTHREADS_INHERIT_FUNCTIONS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Determines wether the function table is inherited by the new context </span> </dd> </dt> <dt id="constant.pthreads_inherit_includes"> <span class="term"> <strong><code>PTHREADS_INHERIT_INCLUDES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Determines wether the included_files table is inherit by the new context </span> </dd> </dt> <dt id="constant.pthreads_inherit_none"> <span class="term"> <strong><code>PTHREADS_INHERIT_NONE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Nothing will be inherited by the new context </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="pthreads.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="class.thread.html">Thread</a></div> <div class="up"><a href="book.pthreads.html">pthreads</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>