
11 Jan
2010
11 Jan
'10
8:24 p.m.
Yes, that's what I did in my patch in ticket #2361. One inconvenience with that approach is to restrain the size of the vector if thread_specific_ptrs are constantly created/destroyed. I did not solve it in my patch but it should be quite doable.
I really hope Anthony will take a look at it and come up with a vector-based solution. Or I can finish the patch myself, if it has any chance of getting into SVN. Anthony? I'm just in the process of doing something much the same myself. I don't
Andrey Semashev wrote: think limiting the number of slots is really an issue in practice if you can allow a 4k page for each thread. There's no real need for each library to use more than one slot. James