Re: [Mingw-w64-public] Native Win32 std::thread

2015-03-17 Thread Kai Tietz
Hello you all, I want to give for this discussion my 2 cents for it too. 2015-03-14 23:34 GMT+01:00 K. Frank : > Historically, I think the following considerations entered into mingw-w64's > choices for implementing std::thread: > > 1) Support for pre-Vista rules out using windows CONDITION_VARI

Re: [Mingw-w64-public] Native Win32 std::thread

2015-03-14 Thread K. Frank
Hello Marco (and Ruben & Friends)! On Sun, Mar 8, 2015 at 7:20 AM, Marco Costalba wrote: > I am one of the developer of a chess engine called Stockfish: > > https://github.com/official-stockfish/Stockfish > > A chess engine is a high performance piece of multi-thread software, where > even a smal

Re: [Mingw-w64-public] Native Win32 std::thread

2015-03-14 Thread Adrien Nader
Hi, To add a bit to Ruben's answer. Winpthreads is a library designed to provide pthread's API and its typical ABI since many software assume pthread_t is an integer (it's the case on Linux and many other OSes). Pthreads-win32 has a different ABI where pthread_t is a struct instead (as far as I re

Re: [Mingw-w64-public] Native Win32 std::thread

2015-03-13 Thread Marco Costalba
> > > 2. There is some plan to develop it? > > > Yes, and no. So far, no one has submitted the patches that would make this > possible (i.e. extend the GCC win32 threading implemenation and lat > libstdc++ use that). An alternative path would be to create a separate > implementation of the relevant

Re: [Mingw-w64-public] Native Win32 std::thread

2015-03-13 Thread Ruben Van Boxem
2015-03-08 12:20 GMT+01:00 Marco Costalba : > I am one of the developer of a chess engine called Stockfish: > > https://github.com/official-stockfish/Stockfish > > A chess engine is a high performance piece of multi-thread software, where > even a small sub-optimal code path immediately translates

[Mingw-w64-public] Native Win32 std::thread

2015-03-13 Thread Marco Costalba
I am one of the developer of a chess engine called Stockfish: https://github.com/official-stockfish/Stockfish A chess engine is a high performance piece of multi-thread software, where even a small sub-optimal code path immediately translates in a sensible slow down. The master version is writte