[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: c++ keyword __thread
From:       Adriaan de Groot <groot () kde ! org>
Date:       2006-08-25 11:22:22
Message-ID: 200608251322.22422.groot () kde ! org
[Download RAW message or body]

On Friday 25 August 2006 12:56, Benoît Jacob wrote:
> For Eigen, I've written a thread-safe buffer manager:
>
> Now I've just found out that there is a new c++ keyword, __thread, that
> seems to do thread-local storage, which is almost the same thing as my
> buffer manager.

Brief use of Google shows:

- declspec(thread) on windows
- may not be supported under non-gcc
- may be tied to Linux/x86 or ia64

FreeBSD 6 w/ gcc 3.4.4 doesn't barf on it immediately, but I haven't tried if 
a program using __thread actually works.

-- 
Adriaan de Groot
  KDE Quality Team
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic