|
1 | 1 | for interpreter pool support, apply the patch below and configure Perl |
2 | 2 | 5.6.0 like so: |
3 | | -./Configure -des -Dusethreads -Accflags=-DPERL_NO_GET_CONTEXT |
| 3 | +./Configure -des -Dusethreads |
4 | 4 |
|
5 | | -Date: Fri, 14 Apr 2000 16:23:51 -0700 (PDT) |
6 | | -From: Doug MacEachern <dougm@covalent.net> |
7 | | -To: Gurusamy Sarathy <gsar@ActiveState.com> |
8 | | -Cc: perl5-porters@perl.org |
9 | | -Subject: Re: -Dusethread woes |
10 | | -In-Reply-To: <200004142247.PAA04706@maul.ActiveState.com> |
11 | | -Message-ID: <Pine.LNX.4.10.10004141610140.368-100000@mojo.covalent.net> |
12 | | - |
13 | | -wow, that was fast, thanks!! |
14 | | -i also had to define PERL_NO_GET_CONTEXT when building libperl.a for this |
15 | | -to work. which in turn required the patch below. my test program works |
16 | | -again, yay!! and, so does mod_perl-2.0-dev's PerlInterpreter pool, that |
17 | | -maps a perl_clone()'d interpreter to an Apache-2.0 thread, |
18 | | -concurrently calling back into each in the same process, wheeeeeeeeeee! |
19 | | - |
20 | | ---- ext/DB_File/version.c~ Sun Jan 23 05:15:45 2000 |
21 | | -+++ ext/DB_File/version.c Fri Apr 14 16:08:53 2000 |
22 | | -@@ -28,6 +28,7 @@ |
23 | | - void |
24 | | - __getBerkeleyDBInfo() |
25 | | - { |
26 | | -+ dTHX; |
27 | | - SV * version_sv = perl_get_sv("DB_File::db_version", GV_ADD|GV_ADDMULTI) ; |
28 | | - SV * ver_sv = perl_get_sv("DB_File::db_ver", GV_ADD|GV_ADDMULTI) ; |
29 | | - SV * compat_sv = perl_get_sv("DB_File::db_185_compat", GV_ADD|GV_ADDMULTI) ; |
30 | 5 | --- thread.h~ Sat Mar 11 08:42:45 2000 |
31 | 6 | +++ thread.h Thu Apr 20 17:38:17 2000 |
32 | 7 | @@ -229,18 +229,6 @@ |
|
0 commit comments