in reply to Re^2: perl threads causing high cpu usage
in thread perl threads causing high cpu usage
I fugured out the problem area... My parent thread, after forking child threads is running in while(1) loop... I have done this because at times I need to send signal to the parent thread and hence need the parent thread to continue to exist...
Is there anyway to make the parent thread dormant but continue to exist
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl threads causing high cpu usage
by Corion (Patriarch) on Jul 16, 2010 at 09:15 UTC | |
|
Re^4: perl threads causing high cpu usage
by roboticus (Chancellor) on Jul 16, 2010 at 22:04 UTC |