Does NetBSD understand the __thread variable declaration ?
From: llothar (llothar_at_web.de)
Date: 11/19/05
- Previous message: Donna Troy: "Re: linux driver compatibility"
- Next in thread: Joel Reicher: "Re: Does NetBSD understand the __thread variable declaration ?"
- Reply: Joel Reicher: "Re: Does NetBSD understand the __thread variable declaration ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Nov 2005 19:16:46 -0800
I write a portable multi threading platform program.
Solaris and Linux (with glibc 2.3) both know the
__threading int myvar;
declaration to declare a thread local variable. Is this also
implemented in the BSD Versions (Open,Free,Net) ? I don't want to use
the uncomfortable "pthread_set/get_specific"
- Previous message: Donna Troy: "Re: linux driver compatibility"
- Next in thread: Joel Reicher: "Re: Does NetBSD understand the __thread variable declaration ?"
- Reply: Joel Reicher: "Re: Does NetBSD understand the __thread variable declaration ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|