[prev in list] [next in list] [prev in thread] [next in thread]
List: mingw-users
Subject: Re: [Mingw-users] Thread local storage?
From: Danny Smith <dannysmith () clear ! net ! nz>
Date: 2007-06-23 4:26:09
Message-ID: 000301c7b54e$a0f66f90$c06d65da () anykey
[Download RAW message or body]
Trent Gamblin
Sent: Saturday, 23 June 2007 4:02 p.m.
> Danny Smith wrote:
> > __thread works on mingw on gcc 4.3.0 via an emulation that
> uses gcc's
> > gthread api.
> > 'Real' linker support for __thread sections is still missing.
> >
> > Danny
>
> Thanks for your response. I didn't know that gcc 4.3.0 was
> available for
> MinGW.
It is not. You can build it if you are prepared to persevere.
Further.
The latest I found was 3.4.5. I'll take another look. I did
> find that I was able to do what I needed with Tls* from the
> Windows API.
Actually, that is probably the safest thing to do. That is what I do,
so the last statement is biased.
> Is adding linker support for __thread a difficult thing to do?
>
I don't know.
Danny
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic