$rinterval is the auto-refresh interval (in minutes) set by the user. The question is this: the refresh_func() could take some time to run depending upon the size of the network. If a user sets the refresh interval ($rinterval) to a time less than the time it takes to refresh the display, I assume that it would lead to issues since the same variables will get overwritten if refresh_func runs before the preceding function has returned. What would be the proper mechanism to handle this? Thank you in advance...$autorefresh_id = $root->repeat($rinterval*60000,\&refresh_func);
In reply to Tk::repeat function by dlal66
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |