Problem in pthread_key_create

Corinna Vinschen
Mon Jan 10 12:40:00 GMT 2005

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 occured to me that this is a misconception.
pthread_key_create() returns EBUSY if a *valid* key is passed.  This
should make it clearer, shouldn't it?


> No, that's not a bug.  Please read the SUSv3 description for
> pthread_key_create() here:
> Please note especially the chapter
>   RATIONALE/Non-Idempotent Data Key Creation.
> [...]

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader
Red Hat, Inc.

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list