tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Increase PTHREAD_KEYS_MAX



On Wed, May 20, 2015 at 12:28:02PM +0000, Emmanuel Dreyfus wrote:
> On Wed, May 20, 2015 at 07:00:26AM -0400, Christos Zoulas wrote:
> > I think it is reasonable.
> 
> Here is the complete patch.
> http://ftp.espci.fr/shadow/manu/pthread_keys_max.patch
> 
> I restored the standard mandated value for _POSIX_THREAD_KEYS_MAX,
> while defining PTHREAD_KEYS_MAX as the backward-compatible value
> we have been uing for a while. 

This will just overflow the pthread structure? Besides, use strtoi,
calloc etc.

Joerg


Home | Main Index | Thread Index | Old Index