This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch libgcc]: Fix PR c++/57440


On Wed, May 7, 2014 at 12:06 PM, Kai Tietz <ktietz70@googlemail.com> wrote:
>
> this patch adds for Windows targets the define
> _GTHREAD_USE_MUTEX_INIT_FUNC, which is necessary as pthread-emulation
> for those targets are just handling pthread_mutext_init,
> othread_mutex_destroy proper.
>
> ChangeLog libgcc
>
> 2014-05-07  Kai Tietz  <ktietz@redhat.com>
>
>         PR c++/57440
>         * gthr-posix.h (_GTHREAD_USE_MUTEX_INIT_FUNC): Define for native windows
>         targets.
>
> Patch passed already regression-test for x86_64-unknown-linux-gnu.
> Test for i686-w64-mingw32 is still running (with posix-threading
> model).  Ok to apply this patch after last test passes?

As Jonathan said in comment #12 of http://gcc.gnu.org/PR57440 , the
right place for this #define is
libstdc++-v3/config/os/mingw32*/os_defines.h.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]