Does NetBSD understand the __thread variable declaration ?

From: llothar (llothar_at_web.de)
Date: 11/19/05

  • Next message: Joel Reicher: "Re: Does NetBSD understand the __thread variable declaration ?"
    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"


  • Next message: Joel Reicher: "Re: Does NetBSD understand the __thread variable declaration ?"

    Relevant Pages