[PATCH] w32: Use __declspec(thread) for FIPS thread context TLS
NIIBE Yutaka
gniibe at fsij.org
Tue Dec 16 03:20:03 CET 2025
Hello,
Knugi wrote:
> The GNU implementation of __thread on Windows (or MinGW32) seems to
> dynamically link to libwinpthread.dll and libgcc_s_seh-1.dll.
In my environment of Debian, we have two executable variants with two
different threading models; POSIX threading model:
x86_64-w64-mingw32-gcc-posix and Window threading model:
x86_64-w64-mingw32-gcc-win32.
With x86_64-w64-mingw32-gcc-win32, I found no use of libwinpthread.dll.
I guess that you are using POSIX threading model, right?
Please try with Window threading model.
--
More information about the Gcrypt-devel
mailing list