[wp-hackers] Memory Space Changed Simultaneously

John Joseph Bachir jjb at ibiblio.org
Mon Dec 11 05:45:57 GMT 2006

On Sun, 10 Dec 2006, Computer Guru wrote:

> What happens in PHP if a single address in memory attempts to be changed 
> at the very same exact time/cycle?

This is (or shold be) impossible. PHP and the core libraries are 
threadsafe, so unless you are using the shared memory facilities or 
spawning threads without semaphoring your resources, I'm not sure what 
could be causing the problem.

> I have a problem with an auto-prepended file, it's the request_uri fix I 
> developed for WP users earlier, and it attempts to write to the global 
> Since it's an auto-prepend file, the likelihood of simultaneous access 
> is very high, and under load I see this error:
> Error using $this when it's not a context

I guess this is what is causing your problem, but I don't know what you 
are referring to :) could you elaborate? What does auto-prepend mean?

aim/yim/msn/jabber.org: johnjosephbachir

More information about the wp-hackers mailing list