Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Waking up once a second will improve your response time and cause negligible extra cpu usage.I see... I can get quicker resonse. This seems good compromize for me. But I suspect that in your real code you are wanting to do more in the while than just sleep?Yes. What I do in real "while loop" is like this. 1. sleep 30 seconds 2. check database 3. image conversions if there is records Thanks for your advice. In reply to Re^2: ctrl + c on Win32 (signal handling)
by remiah
|
|