tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Increase PTHREAD_KEYS_MAX (round 3)
On May 28, 12:49pm, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: Increase PTHREAD_KEYS_MAX (round 3)
| On Thu, May 28, 2015 at 07:43:34AM -0400, Christos Zoulas wrote:
| > Both joerg and I commented on it...
|
| Oh sorry, I missed the replies.
NP :-)
| Here is latest iterration that address your comments.
| http://ftp.espci.fr/shadow/manu/pthread_keys_max4.patch
|
| In pthread_tsd_init I do not reset pthread_keys_max to
| a default value since it would not match allocated arrays.
| We could call err() immediatly instead of retunring, though.
This looks fine to me. I'd keep it as it is.
Don't you get a warning for the strtol() assignment, or that's only lint?
christos
Home |
Main Index |
Thread Index |
Old Index