Have a timer ;-) in the main thread loop thru the hash, and make logical descisions for you.
Simple. And wrong!
You're still trying to find a way to wield that lumphammer.
Creating artifical events (polling), is *NEVER* the right approach to solving the problem. Is just spins cycles and wastes resources.
In reply to Re^6: Should I use threads? Perl/DHCP/Radius
by BrowserUk
in thread Should I use threads? Perl/DHCP/Radius
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |