Update threads to CPAN version 1.86
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Wed, 14 Dec 2011 23:02:38 +0000 (23:02 +0000)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Wed, 14 Dec 2011 23:02:38 +0000 (23:02 +0000)
  [DELTA]

  1.86 Wed Dec 14 21:12:51 2011
    - Fix for mingw-w64 build due to setjmp difference

Porting/Maintainers.pl
dist/threads/t/exit.t
dist/threads/t/thread.t
pod/perldelta.pod

index de1171e..fc8b969 100755 (executable)
@@ -1834,7 +1834,7 @@ use File::Glob qw(:case);
 
     'threads' => {
         'MAINTAINER'   => 'jdhedden',
-        'DISTRIBUTION' => 'JDHEDDEN/threads-1.85.tar.gz',
+        'DISTRIBUTION' => 'JDHEDDEN/threads-1.86.tar.gz',
         'FILES'        => q[dist/threads],
         'EXCLUDED'     => [
             qr{^examples/},
index d96461c..5d30950 100644 (file)
@@ -48,7 +48,7 @@ my $rc = $thr->join();
 ok(! defined($rc), 'Exited: threads->exit()');
 
 
-run_perl(prog => 'use threads 1.85;' .
+run_perl(prog => 'use threads 1.86;' .
                  'threads->exit(86);' .
                  'exit(99);',
          nolib => ($ENV{PERL_CORE}) ? 0 : 1,
@@ -98,7 +98,7 @@ $rc = $thr->join();
 ok(! defined($rc), 'Exited: $thr->set_thread_exit_only');
 
 
-run_perl(prog => 'use threads 1.85 qw(exit thread_only);' .
+run_perl(prog => 'use threads 1.86 qw(exit thread_only);' .
                  'threads->create(sub { exit(99); })->join();' .
                  'exit(86);',
          nolib => ($ENV{PERL_CORE}) ? 0 : 1,
@@ -108,7 +108,7 @@ run_perl(prog => 'use threads 1.85 qw(exit thread_only);' .
     is($?>>8, 86, "'use threads 'exit' => 'thread_only'");
 }
 
-my $out = run_perl(prog => 'use threads 1.85;' .
+my $out = run_perl(prog => 'use threads 1.86;' .
                            'threads->create(sub {' .
                            '    exit(99);' .
                            '});' .
@@ -124,7 +124,7 @@ my $out = run_perl(prog => 'use threads 1.85;' .
 like($out, '1 finished and unjoined', "exit(status) in thread");
 
 
-$out = run_perl(prog => 'use threads 1.85 qw(exit thread_only);' .
+$out = run_perl(prog => 'use threads 1.86 qw(exit thread_only);' .
                         'threads->create(sub {' .
                         '   threads->set_thread_exit_only(0);' .
                         '   exit(99);' .
@@ -141,7 +141,7 @@ $out = run_perl(prog => 'use threads 1.85 qw(exit thread_only);' .
 like($out, '1 finished and unjoined', "set_thread_exit_only(0)");
 
 
-run_perl(prog => 'use threads 1.85;' .
+run_perl(prog => 'use threads 1.86;' .
                  'threads->create(sub {' .
                  '   $SIG{__WARN__} = sub { exit(99); };' .
                  '   die();' .
index aab2af0..548c695 100644 (file)
@@ -161,7 +161,7 @@ package main;
 
 # bugid #24165
 
-run_perl(prog => 'use threads 1.85;' .
+run_perl(prog => 'use threads 1.86;' .
                  'sub a{threads->create(shift)} $t = a sub{};' .
                  '$t->tid; $t->join; $t->tid',
          nolib => ($ENV{PERL_CORE}) ? 0 : 1,
index 387f61d..245e355 100644 (file)
@@ -349,6 +349,10 @@ L<Socket> has been upgraded from version 1.94_02 to version 1.96.
 
 =item *
 
+L<threads> has been upgraded from version 1.85 to version 1.86.
+
+=item *
+
 L<Unicode::Collate> has been upgraded from version 0.85 to version 0.87.
 
 Tailored compatibility ideographs as well as unified ideographs for