www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/13/10:44:52

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 <cgf-use-the-mailinglist-please AT cygwin DOT com>
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> <n2h1ef5a52f1004130140l4e1e25acmfb19e94ed73ed268 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <n2h1ef5a52f1004130140l4e1e25acmfb19e94ed73ed268@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019