Hi,
DIY, it's not hard. You need a semaphore (*nix) and shared memory . Semaphores
are not available on Windows but they are emulatable with ext/shmop.
More info can be found here :
http://hristov.com/andrey/projects/php_stuff/pres/writing_parallel_apps_with_PHP.pdf
sources :
http://hristov.com/andrey/projects/php_stuff/shm.php.gz
Use class Shm_Protected_Var (works on *nix only but the sources are easibly
patchable to work on windows with ext/shmop).
Cheers,
Andrey
Andreas Korthaus wrote: