Hi Earnie and Ruben -

On Tue, Aug 24, 2010 at 8:19 AM, Ruben Van Boxem
<[email protected]> wrote:
> 2010/8/24 Earnie <[email protected]>
>>
>> Ruben Van Boxem wrote:
>>>
>>>  PThreads is included, but I'm talking about C++0x std::thread
>>>  Standard library stuff. Everywhere I've read about this, people say
>>>  it's disabled for mingw (see Frank's mail), making it unusable.
>>
>> Even with the -mthread switch?
>>
>> Earnie
>
> Now you're making me wonder... I'll see to testing that when I have the
> time. This would be great news.

I'm pretty sure I tried the -mthreads switch when I was looking to
see whether std::thread was supported.  I may not have spoken
the precisely proper incantation, but as far as I could tell, -mthreads
didn't do the trick.

(The term I chose, "disabled," probably has the wrong connotation,
as I don't think std::thread is working and can be enabled.  Rather,
I think that (the specific gcc implementation of) std::thread depends
on code that hasn't been ported to windows / mingw, and the #ifdef
wrapper in the thread header file turns off code that would fail to
compile because the necessary support isn't there.)

Again, I speak of mingw 4.5, and not of mingw-w64 or version 4.6.

> Ruben

Do let me know if you discover otherwise.


K. Frank

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to