Re: Thread Local Storage

From: Markus Gyger (markus+news_at_gyger.org)
Date: 01/30/05


Date: Sun, 30 Jan 2005 00:47:13 +0000 (UTC)

Gianni Mariani writes:
> What I'd like
> to see is a another section in executable files that are thread specific
> and a keyword when declaring a variable that would be placed in a thread
> specific section.

Sun Studio compilers on Solaris support a __thread specifier:
http://docs.sun.com/source/819-0494/sun.specific.html#46507
http://docs.sun.com/doc/817-1984/6mhm7pl2b?a=view
http://docs.sun.com/coll/771.6 http://docs.sun.com/coll/45.20

Markus



Relevant Pages

  • Problem: VB.NET Outlook Addin - declare new application object
    ... I have a vb.net outlook addin with the following problem. ... NEW keyword when declaring my Outlook.Application object. ... Public Sub OnConnection(ByVal application As Object, ...
    (microsoft.public.outlook.program_addins)
  • Re: Constants, Static, Public, Private
    ... But why use the keyword "static" in that case? ... that declaring a function as "static" simply ... Dennis Ritchie wrote in comp.std.c: ... implementation namespace. ...
    (comp.lang.cobol)
  • Re: smart compiler vs luser, part II.
    ... I don't think declaring helps the compiler ... The warning occurs because STATE is only known to be a KEYWORD on ... COND returns NIL, which will be the value of STATE on the next ...
    (comp.lang.lisp)
  • Re: Two-Byte alignment in records?
    ... Stefan Paege wrote: ... you should use the "packed" keyword when declaring the ... Insert one-byte padding ...
    (borland.public.delphi.language.objectpascal)