Click to See Complete Forum and Search --> : communication between C and PHP


uvramana
05-20-2004, 06:24 AM
Hi,
I want to write a php program that can communicate with a C program using shared memory. I was able to send the data using shared memory, but to achieve synchronization I want to use semaphores. If anyone can provide me with some information on how the semaphores are implemented in php, I can try to implement the semaphore functions similary in C program also.

Thanks in advance
ramana.

Nutan
06-09-2004, 09:37 AM
No expert comment {{{ bcos I wrote my first PHP script <? phpinfo() ?> today }}} but one ( very basic ) tip

Look into the PHP manual
following chapter in particular
XCV. Semaphore, Shared Memory and IPC Functions

and above chapter ALSO contains following Note
Note: This extension is not available on Windows platforms.

Hope it helps


Nutan

Level of PHP experties --> "hello World"