This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: perl 5.10 threads on 1.5.25 = instant crash
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 14 Jul 2009 19:16:46 +0100
- Subject: Re: perl 5.10 threads on 1.5.25 = instant crash
- References: <DAFA8ADC28014B82920B6D6AB81A1633@multiplay.co.uk>
Steven Hartland wrote:
> [test]
> #!/bin/perl -w
>
> use warnings;
> use strict;
> use threads;
>
> print STDERR "Testing threads...\n";
> my $thrd = threads->create( \&dothread );
> $thrd->join();
> print STDERR "Testing done\n";
>
> sub dothread { print STDERR "I'm a thread!\n" }
> [/test]
WFM with perl 5.10.0 on both 1.5 and 1.7.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple