note 8614 added to Semaphore and Shared Memory Functions
| From: | php at stolt dot de | Date: | Thu, 21 Sep 2000 03:58:32 +0000 |
| Subject: | note 8614 added to Semaphore and Shared Memory Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5253@lists.php.net to get a copy of this message | ||
The integer keys for sem_get() and shm_attach() have to be systemwide unique. There is no method to
ensure that no other process on the system will use your specific key (security! and possible
malfunction). Also shared memory is very seldom used there are possibilities for conflicts! To see
the used id's you can use the program 'ipcs' (at least under SuseLinux;) ). Thanks
Christian C.
http://www.php.net/manual/ref.sem.php