[wp-hackers] Memory Space Changed Simultaneously
computerguru at neosmart.net
Sun Dec 10 16:17:36 GMT 2006
What happens in PHP if a single address in memory attempts to be changed at
the very same exact time/cycle?
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
Or something like that, and my code is very straightforward and simple, I
suspect this is what's happening.
May I'm not googling the right terms, but I can't find if
simultaneous-access crashes PHP or not. Does anyone know what happens when
there's a "race" to change the same memory address in PHP, and more
importantly, how to avoid it?
More information about the wp-hackers