From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <
20060710064934.fb30e530d17747c2b054d625b8945d88.384e3b280c.wbe@email.secureserver.net>
p4raw-id: //depot/perl@28529
Revision history for Perl extension threads.
+1.35 - Mon Jul 10 09:44:47 EDT 2006
+ - Upgraded ppport.h to Devel::PPPort 3.09
+ - Fix for Borland compiler
+
1.34 Thu Jul 6 10:29:37 EDT 2006
- Added ->is_running, ->is_detached, ->is_joinable, ->wantarray
- Enhanced ->list to return running or joinable threads
-threads version 1.34
+threads version 1.35
====================
This module needs perl 5.8.0 or later compiled with 'useithreads'.
# bugid #24165
-run_perl(prog => 'use threads 1.34;
+run_perl(prog => 'use threads 1.35;
sub a{threads->create(shift)} $t = a sub{};
$t->tid; $t->join; $t->tid',
nolib => ($ENV{PERL_CORE}) ? 0 : 1,
use strict;
use warnings;
-our $VERSION = '1.34';
+our $VERSION = '1.35';
my $XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
=head1 VERSION
-This document describes threads version 1.34
+This document describes threads version 1.35
=head1 SYNOPSIS
use threads;
- # Suppress warning message when thread is 'killed'
- no warnings 'threads';
-
sub thr_func
{
# Thread 'cancellation' signal handler
- $SIG{'KILL'} = sub { die("Thread killed\n"); };
+ $SIG{'KILL'} = sub { threads->exit(); };
...
}
L<http://www.cpanforum.com/dist/threads>
Annotated POD for L<threads>:
-L<http://annocpan.org/~JDHEDDEN/threads-1.34/threads.pm>
+L<http://annocpan.org/~JDHEDDEN/threads-1.35/threads.pm>
L<threads::shared>, L<perlthrtut>
/* Workaround for XSUB.h bug under WIN32 */
#ifdef WIN32
# undef setjmp
-# define setjmp(x) _setjmp(x)
+# if !defined(__BORLANDC__)
+# define setjmp(x) _setjmp(x)
+# endif
#endif
#ifdef HAS_PPPORT_H
# define NEED_PL_signals