If you mean "thread specific" data then POSIX threads (pthreads) has
"pthread_key_create()" and "pthread_setspecific()" to do so....

See the man for it.

                        - Matt

Terry Gin wrote:
> 
> I'm porting an app that currently runs on both Win32 and HP-UX to Linux.
> MSVC++ supports thread-local storage via the __declspec(thread)
> attribute, and HP-UX's aCC supports it via the __thread attribute.  Does
> Linux (g++) have similar mechanism that supports thread-local storage?
> 
> Thanks in advance.
> 
> Terry
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list

-- 
---------------------------------------------------------------------
Matt Fahrner                                    2 South Park St.
Manager of Networking                           Willis House
Burlington Coat Factory Warehouse               Lebanon, N.H.  03766
TEL: (603) 448-4100 xt 5150                     USA
FAX: (603) 443-6190                             [EMAIL PROTECTED]
---------------------------------------------------------------------



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to