Re: [PATCH] libstdc++, Darwin: Limit recursive mutex init to OS versions needing it.

2022-12-04 Thread Jonathan Wakely via Gcc-patches
On Sun, 4 Dec 2022, 11:08 Iain Sandoe via Libstdc++, wrote: > While looking at Darwin's os_defines, I wondered whether > _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC was really still necessary. On > checking > the OS, it seems that it was a transient problem that only appears in > Darwin11. > Earlier v

[PATCH] libstdc++, Darwin: Limit recursive mutex init to OS versions needing it.

2022-12-04 Thread Iain Sandoe via Gcc-patches
While looking at Darwin's os_defines, I wondered whether _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC was really still necessary. On checking the OS, it seems that it was a transient problem that only appears in Darwin11. Earlier versions do not have the initializer, and the operation is fixed in Darwin1