Why should I use patSHMC?
If you have already been working with PHP's shared memory and semaphore functions
you probably know, that they are quite hard to handle as you will need at least
two keys and two resource ids and always have to rememeber which function takes
a key or a resource.
Furthermore you have to use a semaphore to block a shared memory segment before
accessing it.
This is were patSHMC is quite helpful. Once you've created a new patSHMC object,
you will not need any keys or ids
.
Just use patSHMC's methods to lock/unlock the shared memory segment or
get a variable from it...