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. In this case (which I could easily imagine on a heavily swapping system), the code will enumerate the original pre-reset Harmony device, and then fail. 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. ------------------------------------------------------------------------- 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