X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 13 Apr 2010 10:44:42 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Cygwin v1.7.5: Destructor NOT Invoked In Threads Upon Thread Cancellation (Windows XP SP 3) Message-ID: <20100413144442.GB28284@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4BC42923 DOT 6000504 AT martoneradiotech DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Apr 13, 2010 at 10:40:39AM +0200, Csaba Raduly wrote: >On Tue, Apr 13, 2010 at 10:19 AM, Ken wrote: >> Under Fedora Core 6 (Linux), compiling and executing the attached test >> code with: >> ?"g++ test.cpp -lpthread; ./a.out" >> produces the following expected output: >> >> OUTPUT (Fedora Core 6): >> ----------------------- >> constructor >> destructor >> constructor >> destructor >> >> However, under Cygwin v1.7.5, compiling and executing the attached test >> code with >> the same exact command produces the following unexpected output: >> >> OUTPUT (Cygwin v1.7.5): >> ----------------------- >> constructor >> destructor >> constructor >> >> As per POSIX spec from the following link: >> ?"http://www.opengroup.org/onlinepubs/009695399/" >> >> The description for the "pthread_cancel()" method is: >(snip) >> >> Cygwin Configuration Diagnostics >(snip 85 pages of text) > >PCYMTATFWCDA: Please Configure Your Mailer To Attach Text Files With >Content-Disposition: Attachment Please don't do this. We're not going to impose other caveats to people submitting bug reports. cgf -- 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