diff options
author | Stas Bekman <stas@stason.org> | 2003-12-02 17:41:42 -0800 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-12-03 08:27:33 +0000 |
commit | 68853529b82cedc7fc5774cbdb57734af389f541 (patch) | |
tree | f964f5ad69b923109f82be9f756ce0ed1c2416ae | |
parent | 4b618757339319cc630e0a81a96a00ace56331a1 (diff) | |
download | perl-68853529b82cedc7fc5774cbdb57734af389f541.tar.gz |
Re: XS modules having problems with CLONE and ithreads unless PERL_NO_GET_CONTEXT is defined
Message-ID: <3FCDAFD6.9050106@stason.org>
p4raw-id: //depot/perl@21837
-rw-r--r-- | sv.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -11000,9 +11000,10 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_debug = proto_perl->Idebug; #ifdef USE_REENTRANT_API -#ifdef DEBUGGING - PERL_SET_CONTEXT(proto_perl); -#endif + /* XXX: things like -Dm will segfault here in perlio, but doing + * PERL_SET_CONTEXT(proto_perl); + * breaks too many other things + */ Perl_reentrant_init(aTHX); #endif |