The stupid question is the question not asked | |
PerlMonks |
Re^2: Threads and signals in Windowsby bojinlund (Monsignor) |
on Mar 09, 2013 at 08:54 UTC ( [id://1022544]=note: print w/replies, xml ) | Need Help?? |
BrowserUk, thank you! I appreciate your straightforward answers. Sorry n'all, but that is garbage! Whilst you may have seen some symptoms like these and have attributed them to the use of signals; I'll bet that you cannot post code to demonstrate it.This is a case of, as I believe, an inappropriate usage of signals, and the related symptoms of system degeneration. It is from https://rt.cpan.org/Public/Bug/Display.html?id=66437 I am using:One example of stochastic behavior (from https://rt.cpan.org/Public/Bug/Display.html?id=66016) is running this batch file:
Examples of results I got was:
This was done using Strawberry-perl-5.12.2.0. The patch http://perl5.git.perl.org/perl.git/commitdiff/82e24582 removed most of the problem but not all. It was also found that version of the Windows operating system had different behavior.
I interpret your standpoint as:
Could you accept (or even recommend) the addition of something like this: It is strongly advice against using signals for Inter Process Communication. This is particular important in Perl code intended to be portable. to the Perl documentation? The addition could be done to the function kill in the Perl Language reference.
In Section
Meditations
|
|