You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2004/02/03 03:14:59 UTC
Re: [apreq1] proper support for ithreads
Joe Schaefer wrote:
> Stas Bekman <st...@stason.org> writes:
>
>
>>Beau, please try the attached patch against the current apreq-cvs
>
>
> Haven't tested it yet, but the patch looks fine.
> +1 to commit.
Thanks Joe. I want to hear first from Beau whether it fixes his problem with
5.8.2.
BTW, this patch makes libapreq a bit faster under perl w/ ithreads enabled.
libapreq2 also needs similar fixing. Define:
#define PERL_NO_GET_CONTEXT /* we want efficiency */
per perlguts manpage and then add pTHX/aTHX where required.
It'd be nice to add an ithread test (can copy the basic setup from
modperl-2.0/t/response/TestPerl/ithreads.pm | ithreads2.pm), but I don't have
time at the moment. May be someone else will do it.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: [apreq1] proper support for ithreads
Posted by Stas Bekman <st...@stason.org>.
Beau E. Cox wrote:
[...]
>>mp2? I've patched httpd-apreq1 (i.e. Apache::Request for mp1). I guess I've
>>got confused and fixed the wrong generation ;) Was it Apache::Request for
>>mp2 that you had the problem with?
>
>
> Yep, the project I did - "HTML::Mason:::ApacheHandler2" -
> on CPAN at
> <http://search.cpan.org/~beau/HTML-Mason-ApacheHandler2-0.01/>
> is ALL mp2; that's where I had the
> "attemping to free ... scalar ... " messages, and
> why I moved to 5.8.3.
Sorry for the delay, Beau.
Please try with 5.8.2 and the current cvs of httpd-apreq-2, I've added a
proper support for ithreads.
Before you do that if you could add a test that reproduces this problem, it'd
be very helpful.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: [apreq1] proper support for ithreads
Posted by Stas Bekman <st...@stason.org>.
Beau E. Cox wrote:
> On Tuesday 10 February 2004 05:22 pm, Stas Bekman wrote:
>
>>Stas Bekman wrote:
>>
>>>Joe Schaefer wrote:
>>>
>>>>Stas Bekman <st...@stason.org> writes:
>>>>
>>>>>Beau, please try the attached patch against the current apreq-cvs
>>>>
>>>>Haven't tested it yet, but the patch looks fine.
>>>>+1 to commit.
>>>
>>>Thanks Joe. I want to hear first from Beau whether it fixes his problem
>>>with 5.8.2.
>>
>>Beau didn't followup on here, so I don't know whether this fixes his
>>problem. But I've committed it anyway.
>
>
> Sorry Joe and Stas - I must have missed that mail.
>
> I don't have 5.8.2 available presently, I am running fine
> on 5.8.3. If you think it would be helpful for me to test
> it now, please let me know and I will put up a 5.8.2
> and try it. If I do that, will getting the latest cvs-mp2
> include the patch Joe mentioned?
mp2? I've patched httpd-apreq1 (i.e. Apache::Request for mp1). I guess I've
got confused and fixed the wrong generation ;) Was it Apache::Request for mp2
that you had the problem with?
> Please let me know if you want the test...
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: [apreq1] proper support for ithreads
Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> Joe Schaefer wrote:
>
>> Stas Bekman <st...@stason.org> writes:
>>
>>
>>> Beau, please try the attached patch against the current apreq-cvs
>>
>>
>>
>> Haven't tested it yet, but the patch looks fine.
>> +1 to commit.
>
>
> Thanks Joe. I want to hear first from Beau whether it fixes his problem
> with 5.8.2.
Beau didn't followup on here, so I don't know whether this fixes his problem.
But I've committed it anyway.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com