chrism01 has asked for the wisdom of the Perl Monks concerning the following question:
Radius->newRecvFrom($sckt,$dict);
which is from the Radiator Radius app.
Not only does the individual thread get stuck, but the whole prog (ie all threads) seems to hang when the first one does.
Is there a way of unsticking it or timing out somehow?
Also, why does the whole prog stick, not just the individual thread?
Just to be clear, if I need to put the fn in it's own thread and then have to kill the fn (which is fine), I only want to have to kill the stuck thread, not any other threads/the whole prog, as it's a daemon that is supposed to run 24/7.
cheers
Chris
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unsticking a thread
by BrowserUk (Patriarch) on Dec 10, 2004 at 05:33 UTC | |
by chrism01 (Friar) on Dec 10, 2004 at 05:47 UTC | |
|
Re: Unsticking a thread
by conrad (Beadle) on Dec 10, 2004 at 11:13 UTC |