delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/14/14:04:14

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 <dave DOT korn DOT cygwin AT googlemail DOT com>
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: <DAFA8ADC28014B82920B6D6AB81A1633 AT multiplay DOT co DOT uk>
In-Reply-To: <DAFA8ADC28014B82920B6D6AB81A1633@multiplay.co.uk>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019