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> |
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
Message body is not shown because sender requested not to inline it.