Static variable addressing

Richard Henderson rth@redhat.com
Tue Jan 29 15:49:00 GMT 2002


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~



More information about the Gcc-help mailing list