TLS support...

Christopher Quinn <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
hello,

are there any plans (or interest!)
to use the Thread Local Storage support making its
way into the 2.5 series kernel curtesy of Ingo Molnar, and
already in gcc (__thread)?

i believe this would be useful for multi-threading
an existing single-threaded codebase without the heartache
of recoding all the global/static variable references
but even avoiding pthread_getspecific/pthread_create_key
usage requires support from the pthread package, hence
my question.

fyi, my interest is in getting multiple instances of
an existing interpreter running in the same address space,
and adding my own code to allow a sharing mechanism at
a higher level. i really want to minimise my patch to
the interpreter distro which is developed by others who
(wisely) see no need to rig it for threading.

thanks.
- chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.