This is the mail archive of the cygwin 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: Cygwin v1.7.5: Destructor NOT Invoked In Threads Upon Thread Cancellation (Windows XP SP 3)


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


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