Re: thread-local storage, especially on x86
Re: thread-local storage, especially on x86
- Subject: Re: thread-local storage, especially on x86
- From: Isaac Dooley <email@hidden>
- Date: Sun, 11 Sep 2005 14:52:33 -0500
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.
Isaac Dooley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden