Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 9274

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!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>Introduction</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.sync.html">Sync</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sync.setup.html">Installing/Configuring</a></div>
 <div class="up"><a href="book.sync.html">Sync</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.sync" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
 The &#039;sync&#039; extension introduces cross-platform synchonization objects into PHP.
 Named and unnamed Mutex, Semaphore, Event, Reader-Writer, and named Shared Memory
 objects provide OS-level synchronization on both POSIX (e.g. Linux) and Windows
 platforms.
  </p>
  <p class="para">
 Automatic cleanup of acquired synchronization objects takes place during extension
 teardown.  This means that if PHP prematurely terminates a script (e.g. script
 execution time is exceeded), objects will not be left in an unknown state.  The
 only exception to this is if PHP itself crashes (e.g. an internal buffer overflow).
  </p>
  <p class="para">
 Unnamed synchronization objects don&#039;t have a lot of use outside of a multithreaded
 scenario.  Unnamed objects are more useful in conjunction with the pthreads PECL
 extension.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
 Named objects require additional care to be used on all systems.
 If an object is instantiated with a specific set of parameters, it must always
 be instantiated with those parameters or the object will probably end up in an
 inconsistent state until the next reboot or a system administrator cleans up
 the mess.
   </p>
  </p></blockquote>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.sync.html">Sync</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sync.setup.html">Installing/Configuring</a></div>
 <div class="up"><a href="book.sync.html">Sync</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>