in reply to Re^2: Completely Random Stall
in thread Completely Random Stall
So how could I detach the threads?
I showed you exactly how to do it above? Change threads->detach; to $thr->detach;.
detach() is an instance method. That is, you need to call it upon the thread handle you wish to detach. You are currently calling it as a class method, which makes no sense, and if warnings were enabled, would (probably) raise an error.
Does your OS have a tool that will show you how many threads are running when the stall occurs? Also, are your child processes being cleaned up or are you creating lots of zombies?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Completely Random Stall
by expresspotato (Beadle) on Jun 12, 2008 at 18:00 UTC | |
by BrowserUk (Patriarch) on Jun 12, 2008 at 22:50 UTC |