[mpm-itk] apc cache ("answer" after long time)

Steinar H. Gunderson sgunderson at bigfoot.com
Tue Dec 4 17:16:03 CET 2012

On Tue, Dec 04, 2012 at 07:00:14PM +0300, Dzianis Kahanovich wrote:
> Yes, I remember why I always change lock method from default pthreadmutex.
> IMHO locking must work across all apache+PHP instances, but ITK is
> non-threaded and threaded locking just not work across processes.

I don't really know anything about apc, but this is as far as I know not
correct; pthread mutexes can be shared and synchronize across processes just
as well as between threads. See in particular the
pthread_mutexattr_setpshared() call.

/* Steinar */
Homepage: http://www.sesse.net/

More information about the mpm-itk mailing list