delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 16 Mar 2006 18:11:39 +0100 |
From: | Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: pthread_create leaves valid mutex pointers on the stack |
Message-ID: | <20060316171139.GM4280@implementation.labri.fr> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <17433 DOT 39495 DOT 950903 DOT 287320 AT metro-north DOT cs DOT columbia DOT edu> |
Mime-Version: | 1.0 |
In-Reply-To: | <17433.39495.950903.287320@metro-north.cs.columbia.edu> |
User-Agent: | Mutt/1.5.11 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Hi, Jonathan Lennox, le Thu 16 Mar 2006 12:03:03 -0500, a écrit : Content-Description: message body text > In general, the idea of verifying objects on their init functions seems > dubious to me -- how can you tell initialized objects from random stack or > heap garbage? Posix says: Attempting to initialize an already initialized mutex results in undefined behavior. But the behavior you desribe is weird indeed :) Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |