Stephen Warren wrote: > On Tue, April 15, 2008 12:18 am, Phil Dibowitz wrote: >> Stephen Warren wrote: >>> This raises the question though: What happens if the current initial 5 >>> second wait isn't long enough? >> What do you mean? If my 5 second sleep isn't enough, I sleep for >> another 5. And then another 5. And then 5 more. 5 more. 5 more. THEN >> I give up. > > I mean, what if, after the first 5 second sleep, the system hasn't noticed > USB disconnect due to remote reboot.
Ah, I see. I suppose that's possible. > I guess with the call to identify in the loop now, that's not an issue, > because identify should fail, and cause the loop to loop again. Indeed. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel