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: problem in pthread_key_create


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/


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