Hi,
I read in the mailing list archives that some work was done on the area of
implementing native TLS support and I'm interested in continuing it, in
case nobody is currently on it.

My initial goal would be to have an implementation that would be both
thread-model agnostic (i.e. be both sufficient and compatible with current
posix & win32 gcc thread models), leveraging the current dependency on
gthreads (and the consequent libpthread one in case of the posix thread
model).

For that I thought about patching gcc to generate native TLS compatible
with win32/msvc semantics. Or, if that's too hard, at least provide a
better emulation (perhaps using TlsAlloc() & friends), preferably one that
doesn't rely on mutexes. But I don't want to go to deep without information
from those who attempted something like that in the past.

I'm currently awaiting for feedback from fsf on my papers, but a small
amount of work (perhaps for early testing) can be early released
accordingly to fsf statements in the form of small patches, should that be
needed / convenient.

A further goal would be to investigate this report and fix it if possible
(and if not fixed as a side effect of the planned ork):
https://sourceforge.net/p/mingw-w64/bugs/445/

Cheers,

Alexandre
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to