Re: cvs: php4 /ext/midgard midgard.c

From: Date: Thu, 22 Feb 2001 11:38:36 +0000
Subject: Re: cvs: php4 /ext/midgard midgard.c
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4207@lists.php.net to get a copy of this message
Because thread-wide globals are only available when you're actually in the thread (during a request) and not when the process starts up. If you need true globals you can just use globals. Andi At 12:34 PM 2/22/2001 +0100, Thies C. Arntzen wrote:
On Thu, Feb 22, 2001 at 01:26:45PM +0200, Andi Gutmans wrote: You only have the module globals during requests (rinit/rshutdown). You can't access them in module init/module shutdown.
    could you explain why? ok the the midgard PHP_MINIT_FUNCTION
    does not allocate a tsrm_id for the module (which is wrong)
    but apart from that i see no reason why the globals should
    not be available all-time.
    tc
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.cvs (#4207) next »