Anybody know of any tutorials on using semaphores and shared memory?
Thanx in advance,
BDKR
Using shared memory and semaphores
Moderator: General Moderators
goto http://pear.php.net and grab a copy of the PEAR Cache class, I think the package utilises shared memory etc.
I remember seeing a toot at I `think` phpbuilder.com but can not seem to find it right now ?
I remember seeing a toot at I `think` phpbuilder.com but can not seem to find it right now ?
Thanx for the comeback.
Anyways, I don't need a class to do caching, but it is interesting that they are using shared memory in php to do this. Plus, a friend of mine let me borrow Linux Programming from Wrox press. It's examples are in C, but I just needed some more input into the technique.
Thanx again,
BDKR
Anyways, I don't need a class to do caching, but it is interesting that they are using shared memory in php to do this. Plus, a friend of mine let me borrow Linux Programming from Wrox press. It's examples are in C, but I just needed some more input into the technique.
Thanx again,
BDKR
google-ing around I found these (i.e.)
Multithreaded Programming with ThreadMentor: A Tutorial
IPC:Semaphores
Multithreaded Programming with ThreadMentor: A Tutorial
IPC:Semaphores