Problems? Is your data what you think it is? | |
PerlMonks |
Correct code crashes ActivePerl Interpreterby heiermann (Novice) |
on Jan 17, 2011 at 20:59 UTC ( [id://882751]=perlquestion: print w/replies, xml ) | Need Help?? |
heiermann has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, I am back again with another "funny" behaviour of ActivePerl. I am using v5.12.2 on Windows 2008 SP1. I want to read from a long-running co-process, and I want to be able to interrupt that procedure. In the meantime I want to calculate something asyncronously in a thread, but this thread should not be interruptible to join it in the end. This code crashes my Perl interpreter:
Earlier you gave me the advice, not to use signals on Windows heavily, because they cannot be expected to work in all situations. However, I think it is unbelievable that correct code can crash the interpreter. And, btw, the code is working properly whithout the thread. Can anybody explain? ---------- Thanks for your helping answers. I think BrowserUk gave the correct hint.
Back to
Seekers of Perl Wisdom
|
|