This is the mail archive of the cygwin-developers@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: 1.3.13?


On Mon, Aug 05, 2002 at 11:41:28AM -0400, Christopher Faylor wrote:
>On Mon, Aug 05, 2002 at 10:56:55AM -0400, Christopher Faylor wrote:
>>On Mon, Aug 05, 2002 at 02:06:59PM +0400, egor duda wrote:
>>>Yes. I have a problem with new thread-pool stuff. When runnint cvs
>>>session via ssh i get following strace:
>>
>>Actually, I should have mentioned that I still need to complete the
>>cygthread stuff.
>>
>>If I can duplicate the problem, I'll take a look at it.  I should note
>>that adding a debug_printf in the ResumeThread loop is apt to slow
>>things down *quite* a bit, though.
>
>I can't duplicate the problem but I have detected a race in my code.
>
>The below should reduce the window of the race but not eliminate it.
>Does it make any difference to the observed behavior?

Nevermind.  I checked in a fix, I hope.  The moral of the story is that
auto-reset events always seem to ensure a race.  I keep trying to use
them but every time I do, a race results.

cgf


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