Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 10 Jan 2005 15:23:41 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: problem in pthread_key_create
In-Reply-To: <20050110201315.GJ23702@cygbert.vinschen.de>
Message-ID: <Pine.GSO.4.61.0501101521150.24510@slinky.cs.nyu.edu>
References: <200501101836.j0AIaG9m007168@thor.remedy.nl> <20050110191136.GI23702@cygbert.vinschen.de> <Pine.GSO.4.61.0501101419100.24510@slinky.cs.nyu.edu> <20050110201315.GJ23702@cygbert.vinschen.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 10 Jan 2005, Corinna Vinschen wrote:

> On Jan 10 14:21, Igor Pechtchanski wrote:
> > On Mon, 10 Jan 2005, Corinna Vinschen wrote:
> > > So it's arguably a bug in the above regression test.
> >
> > If not in the way pthread_key_create is invoked, then in the
> > interpretation of the resulting error.
>
> By calling pthread_key_create more than once for the same key the
> regression test is doing something outside of the specs.  I don't
> see how that is something else but a bug in the way pthread_key_create
> is invoked.

Since it's a regression test, one could conceivably imagine them testing
that this kind of double invocation isn't allowed on the system, thus
making this pattern valid.  This is a stretch, thus my "If not" prefix...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

