From: Jerry D. Hedden Date: Fri, 14 Sep 2007 14:56:34 +0000 (-0400) Subject: threads 1.66 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dcefd27c98a61d1439ad9938e2b78f6aa7be50c4;p=p5sagit%2Fp5-mst-13.2.git threads 1.66 From: "Jerry D. Hedden" Message-ID: <1ff86f510709141156n498af13aq9e0d279a0c76b48@mail.gmail.com> Version bump (sync with CPAN version) p4raw-id: //depot/perl@31880 --- diff --git a/ext/threads/t/exit.t b/ext/threads/t/exit.t index aee8281..31b24d9 100644 --- a/ext/threads/t/exit.t +++ b/ext/threads/t/exit.t @@ -57,7 +57,7 @@ my $rc = $thr->join(); ok(! defined($rc), 'Exited: threads->exit()'); -run_perl(prog => 'use threads 1.65;' . +run_perl(prog => 'use threads 1.66;' . 'threads->exit(86);' . 'exit(99);', nolib => ($ENV{PERL_CORE}) ? 0 : 1, @@ -107,7 +107,7 @@ $rc = $thr->join(); ok(! defined($rc), 'Exited: $thr->set_thread_exit_only'); -run_perl(prog => 'use threads 1.65 qw(exit thread_only);' . +run_perl(prog => 'use threads 1.66 qw(exit thread_only);' . 'threads->create(sub { exit(99); })->join();' . 'exit(86);', nolib => ($ENV{PERL_CORE}) ? 0 : 1, @@ -117,7 +117,7 @@ run_perl(prog => 'use threads 1.65 qw(exit thread_only);' . is($?>>8, 86, "'use threads 'exit' => 'thread_only'"); } -my $out = run_perl(prog => 'use threads 1.65;' . +my $out = run_perl(prog => 'use threads 1.66;' . 'threads->create(sub {' . ' exit(99);' . '});' . @@ -133,7 +133,7 @@ my $out = run_perl(prog => 'use threads 1.65;' . like($out, '1 finished and unjoined', "exit(status) in thread"); -$out = run_perl(prog => 'use threads 1.65 qw(exit thread_only);' . +$out = run_perl(prog => 'use threads 1.66 qw(exit thread_only);' . 'threads->create(sub {' . ' threads->set_thread_exit_only(0);' . ' exit(99);' . @@ -150,7 +150,7 @@ $out = run_perl(prog => 'use threads 1.65 qw(exit thread_only);' . like($out, '1 finished and unjoined', "set_thread_exit_only(0)"); -run_perl(prog => 'use threads 1.65;' . +run_perl(prog => 'use threads 1.66;' . 'threads->create(sub {' . ' $SIG{__WARN__} = sub { exit(99); };' . ' die();' . diff --git a/ext/threads/t/thread.t b/ext/threads/t/thread.t index 0cc59dc..9784cee 100644 --- a/ext/threads/t/thread.t +++ b/ext/threads/t/thread.t @@ -171,7 +171,7 @@ package main; # bugid #24165 -run_perl(prog => 'use threads 1.65;' . +run_perl(prog => 'use threads 1.66;' . 'sub a{threads->create(shift)} $t = a sub{};' . '$t->tid; $t->join; $t->tid', nolib => ($ENV{PERL_CORE}) ? 0 : 1, diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm index 6d47380..8a3dfcb 100755 --- a/ext/threads/threads.pm +++ b/ext/threads/threads.pm @@ -5,7 +5,7 @@ use 5.008; use strict; use warnings; -our $VERSION = '1.65'; +our $VERSION = '1.66'; my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -134,7 +134,7 @@ threads - Perl interpreter-based threads =head1 VERSION -This document describes threads version 1.65 +This document describes threads version 1.66 =head1 SYNOPSIS @@ -990,7 +990,7 @@ L Discussion Forum on CPAN: L Annotated POD for L: -L +L Source repository: L diff --git a/ext/threads/threads.xs b/ext/threads/threads.xs index 54fbaa0..53d5b6d 100755 --- a/ext/threads/threads.xs +++ b/ext/threads/threads.xs @@ -12,7 +12,7 @@ #ifdef HAS_PPPORT_H # define NEED_PL_signals # define NEED_newRV_noinc -# define NEED_sv_2pv_nolen +# define NEED_sv_2pv_flags # include "ppport.h" # include "threads.h" #endif