On Mon, Sep 30, 2013 at 10:38, John Carr wrote:
> Here is a diff relative of OpenBSD 5.3 to avoid taking a lock in
> pthread_getspecific in the common case where storage for the key is
> already allocated.
> 
> I have only tested this patch for my use case where a single key is
> created once and used many times.  In that case, the bottleneck I
> observed is gone.  My parallel program sees linear speedup.

I wanted to say thanks. I know it's been a month (sorry, it was still
warm outside), but if I get positive feedback from another developer I
will commit a similar diff soon.

Reply via email to