version 1.1, 2012/02/21 23:48:01
|
version 1.1.1.2, 2013/07/22 01:32:01
|
Line 4 Shared Memory Operations Extension to PHP
|
Line 4 Shared Memory Operations Extension to PHP
|
|
|
While developing a search deamon we needed a php based front end |
While developing a search deamon we needed a php based front end |
to communicate the deamon via SHM. PHP already had a shared memory |
to communicate the deamon via SHM. PHP already had a shared memory |
extention (sysvshm) written by Christian Cartus <cartus@atrior.de>, | extension (sysvshm) written by Christian Cartus <cartus@atrior.de>, |
unfortunatly this extention was designed with PHP only in mind and | unfortunately this extension was designed with PHP only in mind and |
offers high level features which are extremly bothersome for basic SHM |
offers high level features which are extremly bothersome for basic SHM |
we had in mind. After spending a day trying to reverse engineer and figure |
we had in mind. After spending a day trying to reverse engineer and figure |
out the format of sysvshm we decided that it would be much easier to |
out the format of sysvshm we decided that it would be much easier to |
add our own extention to php for simple SHM operations, we were right :)). | add our own extension to php for simple SHM operations, we were right :)). |
|
|
the functions are: |
the functions are: |
|
|