This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: string and __thread


In article <20030328223847 dot GD16816 at tofu dot dreamhost dot com> Nathan writes:

> It occurs to me that we might declare that object "__thread", so there
> would be as many as there are threads, reducing contention scalably as 
> the number of threads increases, and (as the number of threads exceeds 
> the number of CPUs) beyond.

Please note that the ELF program loader (and thread library) for a
system needs to be updated to support this new gcc feature.  AFAIK,
only GNU Linux (and maybe Solaris) support it so far.  Does any
non-ELF system even have the ability to support this feature?

Regards,
Loren


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]