summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-21 16:27:23 +0000
committerNicholas Clark <nick@ccl4.org>2011-06-16 11:25:50 +0100
commit040eaf4711b0a76debb90b5ec07ce2d13b5ea096 (patch)
treefa9a63f44e09097db7add19fb6122940335ccdfa
parent77da2310c76f19f8b52c04ab613265ef345523a1 (diff)
downloadperl-040eaf4711b0a76debb90b5ec07ce2d13b5ea096.tar.gz
Add PERL_NO_GET_CONTEXT to ODBM_File
For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
-rw-r--r--ext/ODBM_File/ODBM_File.pm2
-rw-r--r--ext/ODBM_File/ODBM_File.xs2
-rw-r--r--pod/perldelta.pod7
3 files changed, 10 insertions, 1 deletions
diff --git a/ext/ODBM_File/ODBM_File.pm b/ext/ODBM_File/ODBM_File.pm
index caf8c7247b..5c8d10b734 100644
--- a/ext/ODBM_File/ODBM_File.pm
+++ b/ext/ODBM_File/ODBM_File.pm
@@ -7,7 +7,7 @@ require Tie::Hash;
require XSLoader;
our @ISA = qw(Tie::Hash);
-our $VERSION = "1.10";
+our $VERSION = "1.11";
XSLoader::load();
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs
index 463f8e8615..15c1725665 100644
--- a/ext/ODBM_File/ODBM_File.xs
+++ b/ext/ODBM_File/ODBM_File.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 8133f3563e..0bc47fc50c 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -389,6 +389,13 @@ Eliminated use of C<exists> on array elements which has been deprecated.
=item *
+L<ODBM_File> has been upgraded from version 1.10 to version 1.11.
+
+The XS code is now compiled with C<PERL_NO_GET_CONTEXT>, which will aid
+performance under ithreads.
+
+=item *
+
L<PerlIO::encoding> has been upgraded from version 0.14 to 0.15
=item *