Skip Menu |
 

This queue is for tickets about the forks CPAN distribution.

Report information
The Basics
Id: 117035
Status: new
Priority: 0/
Queue: forks

People
Owner: Nobody in particular
Requestors: info [...] hayobaan.com
Cc:
AdminCc:

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



Subject: END block not executed after e.g. INT signal
Date: Thu, 18 Aug 2016 13:45:21 +0200
To: bug-forks [...] rt.cpan.org
From: Hayo Baan – IT Services <info [...] hayobaan.com>
Download (untitled) / with headers
text/plain 547b
During testing I found that forks does not run the END block if e.g., an INT signal is processed. The signal handler is called normally (in fact the INT handler of all threads gets called, something that is not mentioned in the documentation), but the END block does /not/ get called while it should be! I have attached a sample program that illustrates this. Just send the INT signal (e.g., press ^C) while the program is running and look at the missing execution of the END block when forks is used instead of threads. Kind regards, Hayo Baan
Download thr
text/plain 1k

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.