Skip Menu |

This queue is for tickets about the Thread CPAN distribution.

Report information
The Basics
Id: 72771
Status: rejected
Priority: 0/
Queue: Thread

People
Owner: Nobody in particular
Requestors: rec-man [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Undefined subroutine &Dos::CLONE
Activ Perl v. 5.12.4 Thread v. 1.85 If I try to use Thread in Windows XP, the following error: "Thread 1 terminated abnormally: Undefined subroutine &Dos::CLONE called... " my program text use strict; use Thread qw(:DEFAULT async yield); my $t = Thread->new(\&start_sub); $t->join; sub start_sub { print "hello world \n"; } In what may be the problem?
Subject: Re: [rt.cpan.org #72771] Undefined subroutine &Dos::CLONE
Date: Mon, 28 Nov 2011 23:42:28 -0800
To: bug-Thread [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
On 2011.11.28 1:53 AM, Serhio via RT wrote: Show quoted text
> Activ Perl v. 5.12.4 > Thread v. 1.85 > > If I try to use Thread in Windows XP, the following error: > "Thread 1 terminated abnormally: Undefined subroutine &Dos::CLONE > called... " > > my program text > > use strict; > > use Thread qw(:DEFAULT async yield); > my $t = Thread->new(\&start_sub); > $t->join;
Sorry, you have found the old implementation of threads, as documented in "perldoc Thread". They never worked on Windows and should have been completely removed in 5.10. http://perldoc.perl.org/Thread.html You want threads.pm. http://perldoc.perl.org/threads.html http://perldoc.perl.org/perlthrtut.html -- We do what we must because we can. For the good of all of us, Except the ones who are dead. -- Jonathan Coulton, "Still Alive"
I'm going to close this up as "rejected", but I don't mean that personally. It's just the appropriate status for "this was not a bug in Thread". No need to reply if your problem was solved, but feel free to reply if it was not.