From 01112dae7d0bba7f093e86dca1adee26f9da1b1c Mon Sep 17 00:00:00 2001 From: "Jerry D. Hedden" Date: Wed, 5 Sep 2007 05:29:57 -0400 Subject: [PATCH] threads 1.65 From: "Jerry D. Hedden" Message-ID: <1ff86f510709050629x7698cedes9b09c7d8eecc786b@mail.gmail.com> p4raw-id: //depot/perl@31794 --- ext/threads/t/exit.t | 10 +++++----- ext/threads/t/thread.t | 2 +- ext/threads/threads.pm | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ext/threads/t/exit.t b/ext/threads/t/exit.t index b005f80..aee8281 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.64;' . +run_perl(prog => 'use threads 1.65;' . '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.64 qw(exit thread_only);' . +run_perl(prog => 'use threads 1.65 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.64 qw(exit thread_only);' . is($?>>8, 86, "'use threads 'exit' => 'thread_only'"); } -my $out = run_perl(prog => 'use threads 1.64;' . +my $out = run_perl(prog => 'use threads 1.65;' . 'threads->create(sub {' . ' exit(99);' . '});' . @@ -133,7 +133,7 @@ my $out = run_perl(prog => 'use threads 1.64;' . like($out, '1 finished and unjoined', "exit(status) in thread"); -$out = run_perl(prog => 'use threads 1.64 qw(exit thread_only);' . +$out = run_perl(prog => 'use threads 1.65 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.64 qw(exit thread_only);' . like($out, '1 finished and unjoined', "set_thread_exit_only(0)"); -run_perl(prog => 'use threads 1.64;' . +run_perl(prog => 'use threads 1.65;' . 'threads->create(sub {' . ' $SIG{__WARN__} = sub { exit(99); };' . ' die();' . diff --git a/ext/threads/t/thread.t b/ext/threads/t/thread.t index 72c3638..9a2a097 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.64;' . +run_perl(prog => 'use threads 1.65;' . '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 1fa0ee0..6d47380 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.64'; +our $VERSION = '1.65'; my $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -134,7 +134,7 @@ threads - Perl interpreter-based threads =head1 VERSION -This document describes threads version 1.64 +This document describes threads version 1.65 =head1 SYNOPSIS @@ -990,7 +990,7 @@ L Discussion Forum on CPAN: L Annotated POD for L: -L +L Source repository: L -- 2.7.4