[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Fix almost-infinite loop in pthread_key_create



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luca Barbieri wrote:
> Without this patch pthread_key_create doesn't stop when it finds an
> available key, thus making PTHREAD_KEYS_MAX iterations and allocating
> all keys in the process.

Thanks, I've fixed this and I've added a test.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9zNOX2ijCOnn/RHQRAjRoAKCBnCKSRHq0CAaX+MQ0m7OfDmsgxwCeL1bB
NRBU68nbW9lJV7Skp2QK9N0=
=ql56
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]