Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 6:14 PM, Jonathan Wakely wrote: > On 9 May 2012 20:49, Kai Tietz wrote: >> >> The issue about critical-sections and gthread (and also pthread) API >> is, that not all locking-kinds can be modelled by it.  The difference >> on Windows for it is, that a critical section object

Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 2:30 PM, K. Frank wrote: > Hi Gaby! > > On Wed, May 9, 2012 at 3:08 PM, Gabriel Dos Reis > wrote: >> On Wed, May 9, 2012 at 2:06 PM, K. Frank wrote: >> >>> However, as noted in my previous post, I have happily done some >>> (limit

Re: [Mingw-w64-public] [Mingw-users] Fwd: Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 2:13 PM, Ruben Van Boxem wrote: > That said, a new threading model is great, but essentially unusable on > Windows XP. Which today might be a problem for people distributing binaries. > They'll have to build two versions (as I've said before) and confuse their > users even

Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 2:06 PM, K. Frank wrote: > However, as noted in my previous post, I have happily done some > (limited) windows-api threading programming with Ruben's build > (and also did the windows-api threading programming necessary > to implement ), all, I guess, with a gcc build built

Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 11:00 AM, K. Frank wrote: > Conversely, if you want to mix with pthreads, then a > pthreads implementation for makes sense. except that on Windows, programmers don't typically expect posix functions. If you want posix emulation on Windows, the general expectation is tha

Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 10:58 AM, K. Frank wrote: > Ah, okay.  I don't use  --enable-threads=win32 or really know what > it is. It is the default threading model for mingw-64 compilers -- e.g. gcc built by TDM, etc. -- Gaby ---

Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 11:04 AM, K. Frank wrote: > Please, let's have mingw-w64 (and mingw) users chime in.  Do folks > prefer one approach (native vs. pthreads) to implementing > to the other?  Is there enough interest in both approaches that it > makes sense to take away manpower from other is

Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-09 Thread Gabriel Dos Reis
On Wed, May 9, 2012 at 8:39 AM, Jonathan Wakely wrote: > On 7 May 2012 18:35, K. Frank wrote: >> Hello Ruben and Gabriel! > > N.B. I'm not on the mingw lists, so please keep me CC'd if you want > responses or any help from me in enhancing libstdc++ to work better on > Windows. > > >> And my P.S.:

Re: [Mingw-w64-public] Thoughts on supporting the C++11 thread library on Windows

2012-05-05 Thread Gabriel Dos Reis
Including the mingw64 project about this. On Sat, May 5, 2012 at 5:59 PM, Jonathan Wakely wrote: > For GCC 4.7 I enabled most of (without timed mutexes) on Mac > OS X by making the _GLIBCXX_HAS_GTHREADS macro more fine-grained.  I > think we could quite easily do the same again for the win32 thr