Member Function Documentation
release shared memory segment
public
acquire semaphore lock
private
print error message and exit script
private
- Parameters
-
string | $msg | the message to print |
release semaphore lock
private
restore |
( |
& |
$what, |
|
|
|
$key |
|
) |
| |
restores a variable from shared memory
public
- Parameters
-
mixed | &$what | variable to restore (call by reference) |
integer | $key | the key from which to store |
constructor
does nothing special, just acquires handles for a memory segment and a semaphore to it
public
- Parameters
-
integer | $key | must be unique on this machine |
integer | $size | in bytes |
stores a variable in shared memory
public
- Parameters
-
mixed | &$what | variable to store (call by reference) |
integer | $key | the key under which to store |
Field Documentation
The documentation for this class was generated from the following file: