in reply to Re: perl/tk script freezes
in thread perl/tk script freezes
I would consider re-architecting this so that the SNMP stuff runs in a different thread or process from the gui. Not only is this natural separation of concerns, but also your gui wouldn't freeze. Moreover, you could then use the gui to interrupt or modify the behavior of the SNMP scan. And it makes it easier to put a different "gui" on it (like a command line interface.) In any case, mixing your gui code with your scanning code is going to make it hard to change either of them.
|
|---|