A few questions:
There really isn't enough information in your post to base suggestions on. Things that come to mind are:
When the main loop (or thread) monitoring the external events updates one of the keys in the hash, the tie implementation processes a set of rules and associated actions for that key.
Several other ideas are alluded to in my questions above, but there's little point in expanding them on the basis of what you've told us so far.
In reply to Re: Event loop with rules handling
by BrowserUk
in thread Event loop with rules handling
by Brovnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |