downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/ref.sem.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.sem.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'ref.sem.php',
   
1 => 'Semaphore Functions',
  ),
 
'up' =>
  array (
   
0 => 'book.sem.php',
   
1 => 'Semaphore, Shared Memory and IPC',
  ),
 
'prev' =>
  array (
   
0 => 'sem.constants.php',
   
1 => 'Predefined Constants',
  ),
 
'next' =>
  array (
   
0 => 'function.ftok.php',
   
1 => 'ftok',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">Semaphore Functions</h1>

 



















































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.ftok.php">ftok</a> — Convert a pathname and a project identifier to a System V IPC key</li><li><a href="function.msg-get-queue.php">msg_get_queue</a> — Create or attach to a message queue</li><li><a href="function.msg-queue-exists.php">msg_queue_exists</a> — Check whether a message queue exists</li><li><a href="function.msg-receive.php">msg_receive</a> — Receive a message from a message queue</li><li><a href="function.msg-remove-queue.php">msg_remove_queue</a> — Destroy a message queue</li><li><a href="function.msg-send.php">msg_send</a> — Send a message to a message queue</li><li><a href="function.msg-set-queue.php">msg_set_queue</a> — Set information in the message queue data structure</li><li><a href="function.msg-stat-queue.php">msg_stat_queue</a> — Returns information from the message queue data structure</li><li><a href="function.sem-acquire.php">sem_acquire</a> — Acquire a semaphore</li><li><a href="function.sem-get.php">sem_get</a> — Get a semaphore id</li><li><a href="function.sem-release.php">sem_release</a> — Release a semaphore</li><li><a href="function.sem-remove.php">sem_remove</a> — Remove a semaphore</li><li><a href="function.shm-attach.php">shm_attach</a> — Creates or open a shared memory segment</li><li><a href="function.shm-detach.php">shm_detach</a> — Disconnects from shared memory segment</li><li><a href="function.shm-get-var.php">shm_get_var</a> — Returns a variable from shared memory</li><li><a href="function.shm-has-var.php">shm_has_var</a> — Check whether a specific entry exists</li><li><a href="function.shm-put-var.php">shm_put_var</a> — Inserts or updates a variable in shared memory</li><li><a href="function.shm-remove-var.php">shm_remove_var</a> — Removes a variable from shared memory</li><li><a href="function.shm-remove.php">shm_remove</a> — Removes shared memory from Unix systems</li></ul>
</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites