in reply to Threaded Perl script not responding
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Threaded Perl script not responding
by Anonymous Monk on Aug 17, 2011 at 18:00 UTC | |
by zentara (Cardinal) on Aug 17, 2011 at 19:49 UTC |