Re: thread-local storage, especially on x86
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) Isaac Dooley _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I too have an important need for thread-local storage for ordinary "global" variables. I have not found a single way of solving my problem, short of memcpy'ing the entire DATA segment in and out on the "thread" context switches. It is part of a custom user level threading system. We use a hack on the ELF-GOT platforms to modify the GOT. If anyone has any ideas, I would love to hear them. I posted a better description of my problem on this list earlier this summer and had no replies. This email sent to site_archiver@lists.apple.com
participants (1)
-
Isaac Dooley