On Feb 14 10:47, Ryan Johnson wrote: > On 14/02/2012 10:17 AM, Corinna Vinschen wrote: > >Does anybody know a system call which allows to fetch the network drive > >state (connected/not connected) without a billion microsecond timeout? > [...] > What if we parsed the mount table instead of calling readdir? I > don't know how that's computed, but it's never been a performance > problem, it only shows drives that are actually connected [...]
What mount table? Cygwin's? It calls GetFileAttributes on the drive's root dir as well... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple