checkX problems
Jon TURNEY
jon.turney@dronecode.org.uk
Fri Nov 20 17:25:00 GMT 2009
On 13/11/2009 02:27, Charles Wilson wrote:
> Jon TURNEY wrote:
>> But why would you fix the timeout problem by doing some horrible
>> horrible iteration in the DOS batch script (horrible) (which would
>> probably have to busy-wait (also horrible) as there's no sleep command),
>> when you can fix checkX, which has the bonus of fixing other uses of it?
>
> I actually wrote a version of this. It IS horrible -- but no need for a
> busywait, I used the "ping trick":
>
> C:\windows\system32\ping -n 2 127.0.0.1>nul
>
> "sleeps" for (n-1)==1 seconds.
Horrible! :-)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list