Front page | perl.perl5.porters |
Postings from April 2000
Re: -Dusethread woes
Thread Previous
|
Thread Next
From:
Doug MacEachern
Date:
April 14, 2000 16:19
Subject:
Re: -Dusethread woes
Message ID:
Pine.LNX.4.10.10004141610140.368-100000@mojo.covalent.net
wow, that was fast, thanks!!
i also had to define PERL_NO_GET_CONTEXT when building libperl.a for this
to work. which in turn required the patch below. my test program works
again, yay!! and, so does mod_perl-2.0-dev's PerlInterpreter pool, that
maps a perl_clone()'d interpreter to an Apache-2.0 thread,
concurrently calling back into each in the same process, wheeeeeeeeeee!
--- ext/DB_File/version.c~ Sun Jan 23 05:15:45 2000
+++ ext/DB_File/version.c Fri Apr 14 16:08:53 2000
@@ -28,6 +28,7 @@
void
__getBerkeleyDBInfo()
{
+ dTHX;
SV * version_sv = perl_get_sv("DB_File::db_version", GV_ADD|GV_ADDMULTI) ;
SV * ver_sv = perl_get_sv("DB_File::db_ver", GV_ADD|GV_ADDMULTI) ;
SV * compat_sv = perl_get_sv("DB_File::db_185_compat", GV_ADD|GV_ADDMULTI) ;
Thread Previous
|
Thread Next