This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: cygwin slowdown in current cvs version
On Sun, Sep 09, 2001 at 10:13:06AM +1000, Robert Collins wrote:
>On Sun, 2001-09-09 at 06:44, Christopher Faylor wrote:
>> On Sat, Sep 08, 2001 at 10:23:26PM +0200, Corinna Vinschen wrote
>>
>> If we were going to do that, though, we should set up one global "change
>> notification" handle for /etc/group and /etc/passwd, right?
>
>After a quick MSDN scan, I couldn't see any per file scanning mechanism.
>which means notification on /etc is about it (barring fancy tricks like
>/etc/changingdata/passwd and /etc/passwd->changindata/passwd :])
A google search reveals some undocumented calls that allow you to track
all sorts of things.
After a little more testing, it seems like the slowdown is actually due
to the FindFirstChangeNotification call. If I add that and avoid the
WaitForSingleObject, I still get a noticeable slowdown.
cgf