Home | Contact | Pricing | News | Partners | Mailing List | Site Map

Developer Center

[GNAT] Support for pragma Thread_Local_Storage

Saturday August 9, 2008

A new pragma Thread_Local_Storage ([Entity =>]library_LOCAL_NAME) is now implemented. This can be used to mark package variables as being treated as thread local storage (TLS). On systems where this is supported (Solaris, GNU/Linux, VxWorks 6), this means that each thread (each task in the Ada sense) will see a distinct version of this variable.

 

Posted by Posted in Development Log, GNAT Compilation System