It sounds like your threads are hanging on something and waiting for input to proceed. Have you noticed that other key presses work too? Like maybe just hitting Enter a few times? Are you running a socket or database access in the threads? Threads can hang on a screwed up IO operation.
How I can check for any errors in a thread here?
With the limited code you show, it's only a suggestion, but sprinkle your \&processData subroutine with as many debugging printouts as you can, and see where it hangs and requires your cntrl z.
In reply to Re: Threaded Perl script not responding
by zentara
in thread Threaded Perl script not responding
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |