| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| X-YMail-OSG: | PUEiWuoVM1mvy6dzCJ7GLqELDlZKeeaqndKja0FoTQOKqGcpagkNqCit9uezbrR4g6M47JbivncKMmRF4W3oCT3gJKWoQS4w7etqnZJurlneiXqIUfVhe1LEijtcdQqGw6ZPSg5vdZkCDE5fvg5GX2FzZHbId2EV |
| Message-ID: | <45B61C72.1090307@yahoo.de> |
| Date: | Tue, 23 Jan 2007 15:32:18 +0100 |
| From: | Sebastian Weber <webersebastian AT yahoo DOT de> |
| User-Agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Cygwin Perl 5.8.7 - Thread signalling gives errors in standard distribution |
| 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 |
Hi All,
I just experienced the following problem: When using the normal perl
packaged with Cygwin (v5.8.7 built for cygwin-thread-multi-64int) and
trying thread signalling with threads->kill(), I get an error.
For example the following script:
use threads;
sub thr_func
{
$SIG{'KILL'} = sub { die("Thread killed\n"); };
while (1) {}
}
my $thr = threads->create('thr_func');
$thr->kill('KILL')->detach();
Errors out with:
Can't locate auto/threads/kill.al in @INC (@INC contains: ...) at
./test.pl line 22
A thread exited while 2 threads were running.
After installing the newest threads module from CPAN (v1.57,
http://search.cpan.org/~jdhedden/threads-1.57/), everything works fine.
I believe, the cygwin distribution still uses an outdated threads
module. Has anybody else experienced this problem?
Regards, Sebastian
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |