On Sat, 1 Mar 2003, Stas Bekman wrote:
There are two ways to debug this if you want to help.
The easy way is to set in httpd.conf PerlTrace i as explained here: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlTrace_
Would be glad to help but I use Randy Kobes' (latest) win32 build (don't have the MS compiler so I can't build my own) and this don't have the MP_TRACE enabled it seems...
oops, looks like we need to have one binary, armored for debugging? Randy?
you probably want to move my $tid = APR::OS::thread_current(); into the handler, otherwise you reprint the old value ;)
Good point.
though your $cnt does the right job to reproduce the problem.
Also you probably want: my $tid = ${ APR::OS::thread_current() };
Yes I wondered about that. But ${...} *always* gives me the same ID, '4294967294' (always), while the ref itself changes for every new interpreter...
because it probably creates a new SV every time, which you print the reference to. Though the value is the same. Meaning that you hit the same thread.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
