Problem in pthread_key_create

2005-01-09 Thread Johnny Willemsen
Hi, Posted this last Friday but didn't got anything back. I think this is a bug in the pthread library of Cygwin. Can someone have a look at this? Johnny -Original Message- From: Johnny Willemsen [mailto:[EMAIL PROTECTED] Sent: vrijdag 7 januari 2005 14:57 To: 'cygwin@cygwin.com' Subje

Re: Problem in pthread_key_create

2005-01-10 Thread Corinna Vinschen
On Jan 9 18:31, Johnny Willemsen wrote: > Hi, > > Posted this last Friday but didn't got anything back. I think this is a bug > in the pthread library of Cygwin. Can someone have a look at this? > > Johnny > > -Original Message- > From: Johnny Willemsen [mailto:[EMAIL PROTECTED] > Sen

Re: Problem in pthread_key_create

2005-01-10 Thread Corinna Vinschen
On Jan 10 13:00, Corinna Vinschen wrote: > On Jan 9 18:31, Johnny Willemsen wrote: > > A question, I had a look at the implementation of pthread_key_create. When > > an invalid key is passed, a EBUSY is returned. ^ I just read this again and it occu

RE: problem in pthread_key_create

2005-01-10 Thread Johnny Willemsen
Hi Corinna, Thanks for the info. You are right, an EBUSY is returned when a valid key is passed. I wrote first the report about EBUSY, then after that of the ! Part. But, why EBUSY and not EINVAL? I have not figured out why a regression test in ACE (see www.cs.wustl.edu/~schmidt) calls this twice

Re: problem in pthread_key_create

2005-01-10 Thread Corinna Vinschen
On Jan 10 19:36, Johnny Willemsen wrote: > Hi Corinna, > > Thanks for the info. You are right, an EBUSY is returned when a valid key is > passed. I wrote first the report about EBUSY, then after that of the ! Part. > > But, why EBUSY and not EINVAL? I have not figured out why a regression test >

Re: problem in pthread_key_create

2005-01-10 Thread Igor Pechtchanski
On Mon, 10 Jan 2005, Corinna Vinschen wrote: > On Jan 10 19:36, Johnny Willemsen wrote: > > Hi Corinna, > > > > Thanks for the info. You are right, an EBUSY is returned when a valid key is > > passed. I wrote first the report about EBUSY, then after that of the ! Part. > > > > But, why EBUSY and n

Re: problem in pthread_key_create

2005-01-10 Thread Corinna Vinschen
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

Re: problem in pthread_key_create

2005-01-10 Thread Igor Pechtchanski
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 result

Re: problem in pthread_key_create

2005-01-10 Thread Corinna Vinschen
On Jan 10 15:23, Igor Pechtchanski wrote: > On Mon, 10 Jan 2005, Corinna Vinschen wrote: > > 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_cr