[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: thread model for mxe-octave build
From: |
JohnD |
Subject: |
RE: thread model for mxe-octave build |
Date: |
Thu, 22 Feb 2018 12:02:30 -0500 |
> -----Original Message-----
> From: John W. Eaton [mailto:address@hidden
> Sent: Thursday, February 22, 2018 11:44 AM
> To: John Donoghue; Octave Maintainers List
> Cc: address@hidden
> Subject: thread model for mxe-octave build
>
> I had someone ask why C++11 threads (mutext, condition_variable_any) wasn't
> working with .oct files built with Octave 4.2.1. After a little searching, I
> found
> that we are configuring GCC with
> --enable-threads=win32 instead of --enable-threads=posix. Apparently the
> latter is required to enable C++11 thread features. Is there any reason to
> not
> use --enable-threads=posix by default in our builds? I tried building
> native-gcc
> with this option and it allowed my test program to compile but I don't know
> whether there might be other problems. From what I hve read, it seems that
> even if GCC is built with this option you can still use Windows threading
> features directly. I've seen some mention of performance issues "in some
> situations" but no explanation of what that might be.
>
> jwe
No reason I know of except that mxe was/is using win32
- thread model for mxe-octave build, John W. Eaton, 2018/02/22
- Re: thread model for mxe-octave build, Daniel J Sebald, 2018/02/22
- RE: thread model for mxe-octave build,
JohnD <=
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/23
- RE: thread model for mxe-octave build, JohnD, 2018/02/23
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/23
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/24
- Re: thread model for mxe-octave build, John Donoghue, 2018/02/24
- RE: thread model for mxe-octave build, JohnD, 2018/02/25
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/26
- Re: thread model for mxe-octave build, John W. Eaton, 2018/02/26
- RE: thread model for mxe-octave build, JohnD, 2018/02/27
- RE: thread model for mxe-octave build, JohnD, 2018/02/27