X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A5CCB8E.3050105@gmail.com> Date: Tue, 14 Jul 2009 19:16:46 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: perl 5.10 threads on 1.5.25 = instant crash References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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