Making sense of TSD
Mike Hommey
mh+jemalloc at glandium.org
Wed Apr 11 10:22:56 PDT 2012
Hi,
I'm trying to make sense of the tsd implementation without __thread,
which would seem to fit the tls model on windows. But I don't see why
the wrapper struct is needed at all. The first thing that bothers me is
that the isstatic == true case is set to abort on opt_abort, yet is
supported. And it doesn't seem very obvious why initialized is needed.
Jason, could you enlighten me? :)
Mike
More information about the jemalloc-discuss
mailing list