This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Fix gethwnd race


On Fri, May 14, 2004 at 12:20:18PM -0400, Christopher Faylor wrote:
>I need to do a little debugging on what I have but it does try to clean
>up the windows code slightly.  I even eliminated the thread event
>synchronization entirely.

This is now checked in.  In the end, I implemented a new method for
passing off an acquired muto to another thread.  This avoids the need
for allocating another event.  I can use this technique elsewhere, too.

So, I revamped window.cc and did a minor revamp and cleanup on mutos.
This is not something I would have expected anyone else to do.

Thanks again for putting the effort into producing a patch.  In the end,
I just decided to go with my original observation that this code needed
some major work.  And, I'm not done yet...

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]