Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Message-ID: <3D396A8D.3090301@hekimian.com> Date: Sat, 20 Jul 2002 09:50:05 -0400 X-Sybari-Trust: 9350d4cd b923d9bf 0879ee9b 00000109 From: Joe Buehler Reply-To: joseph DOT buehler AT spirentcom DOT com Organization: Spirent Communications User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin-developers AT cygwin DOT com Subject: Re: [bug found] Re: cygwin hang problem References: <3D32FC00 DOT 5090108 AT hekimian DOT com> <20020719050925 DOT GA24259 AT redhat DOT com> <3D37F0E5 DOT 50F3669B AT yahoo DOT com> <20020719141242 DOT GB27697 AT redhat DOT com> <3D38949C DOT 3090200 AT hekimian DOT com> <3D38C63B DOT 1070201 AT hekimian DOT com> <20020720023006 DOT GB4688 AT redhat DOT com> <20020720050032 DOT GA7816 AT redhat DOT com> Content-Type: multipart/mixed; boundary="------------070701080508000803080604" This is a multi-part message in MIME format. --------------070701080508000803080604 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Christopher Faylor wrote: > I'd still like to find what threads are simultaneously looking for the > same info but, in the meantime, I've rewritten that particular section > of code so that there is only one memory write, which should be thread > safe. > > Does it work any better now? I'll try it, though it might not be until Monday. Meanwhile, I am attaching the thread stacks. One of them must have called CopySid successfully at some point. Hard to say when with XP scheduler vagaries etc. I am working from a July 8 14:42:35 (or so) snapshot from cvs, with a couple patches of my own. Joe Buehler --------------070701080508000803080604 Content-Type: application/x-java-applet;version=1.1.1; name="mail" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="mail" JCBnZGIgLW53IC91c3IvYmluL2tzaC5leGUga3NoLmV4ZS5jb3JlIApHTlUgZ2RiIDIwMDIt MDQtMT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