Re: issue in copying the hash table(Reposted third time)

From: Date: Wed, 07 Jul 2004 14:50:59 +0000
Subject: Re: issue in copying the hash table(Reposted third time)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-10948@lists.php.net to get a copy of this message
On 2004/07/07, at 14:18, Kamesh Jayachandran wrote:
In this case while making a copy og global_class_table to thread specific class_table in a deep fashion. zend_hash_copy has to do the double dereferencing which it can't being a generic fuinction.
Sorry, but I don't quite understand what you meant in the above paragraph. Is it a threading / race related issue that you are pointing out here? As far as I know, only the global class table is shared across threads and is duplicated to emulate fork() behaviour, as the compiler global is actually a thread specific value (that is, a separate instance is prepared for each thread.) Moriyoshi

« previous php.internals (#10948) next »