[PATCH] libgfortran: Set `enable_caf_shmem` to true for Cygwin and MinGW hosts
LIU Hao
lh_mouse@126.com
Fri Oct 2 05:56:15 GMT 2026
在 2026-9-25 17:13, LIU Hao 写道:
> In libgfortran/caf/shmem/thread_support.{h,c}, pthread.h is included only
> when `!defined(WIN32) && !defined(__CYGWIN__)`. For Cygwin and MinGW hosts,
> native named mutexes and semaphores are used and a pthread library is not
> needed.
>
> This commit overrides the result of the previous check for pthread, so
> libcaf_shmem is always built for these hosts even when a pthread library
> isn't available.
>
> libgfortran/ChangeLog:
>
> * configure.ac: Set `enable_caf_shmem` to true for Cygwin and MinGW hosts.
> * configure: Regenerate.
>
> Signed-off-by: LIU Hao <lh_mouse@126.com>
> ---
> libgfortran/configure | 3 +++
> libgfortran/configure.ac | 3 +++
> 2 files changed, 6 insertions(+)
>
Ping.
--
Best regards,
LIU Hao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20261002/3c5b027e/attachment.sig>
More information about the Gcc-patches
mailing list