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 02:02:26PM +0200, Joerg Sonnenberger wrote:
> I am against raising it that much. The overhead is *per thread*, so it
> sums up easily.

For -7 we should do nothing, way too late in the game.

> A queue doesn't make sense, O(1) is really required here. On-demand
> growing of the array shouldn't be too hard to implement though.

That would be my vote too.

Martin


Home | Main Index | Thread Index | Old Index