A timer calling sysread at a fast interval will not block.... the <> operator might. Sysread will try to read the pipe every 10 ms (or so), and if nothing is there, will just let the timer go on to the next round. Tk will remain responsive.
I think its easier for people to switch to linux, than to figure out hacks to make win32 work. :-)
In reply to Re^6: Please suggest a non-forking way to do this (OS: windows)
by zentara
in thread Please suggest a non-forking way to do this (OS: windows)
by cranky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |