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 13, 2015 at 12:30:38PM +0000, Christos Zoulas wrote:
> Just make it an array that is dynamically allocated based on an environment
> variable; this is what others do (it seems).
This is quickly getting ugly: malloc() calls pthread_key_create(),
which means we cannot allocate though the standard way until we have
allocated.
--
Emmanuel Dreyfus
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index