This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Static variable addressing


On Tue, Jan 29, 2002 at 01:55:20PM -0500, Joy Mukherjee wrote:
> 	I was trying to separate static variables for threads i.e. if I
> had 2 threads, I want that each should have its own copy of static
> variables. Is there anyway I can do that ?

No.  The only thing you can do at the moment is use pthread_getspecific.


r~


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