develooper Front page | perl.perl5.porters | Postings from November 2003

Re: need your help to do some (simple?) patching

Thread Previous | Thread Next
Nick Ing-Simmons
November 19, 2003 05:14
Re: need your help to do some (simple?) patching
Message ID:
Jan Dubois <> writes:
>I'm under the impression that you believe that the embedding application
>will not need to call PERL_SET_CONTEXT() if all places in the core pass
>aTHX explicitly.  I'm trying to explain why this is not true:
>When you call XS code, 

And that XS code has not done 


>it uses PERL_GET_THX to retrieve the context from
>TLS and pass this on to any Perl APIs it is calling.  So if you are not
>setting the context before calling into Perl, then Perl cannot call into
>XS code.  XS code does *not* use the passed in context. aTHX is remapped
>Are we talking about the same thing?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About