[openssl/openssl] b593fb: Fix OSSL_ATOMICS_LOCKLESS detection for Windows to...

0 views
Skip to first unread message

Bob Beck

unread,
Jun 22, 2026, 3:25:38 AM (yesterday) Jun 22
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: b593fb151eb7373cb85f352e86bcb7225f9850d9
https://github.com/openssl/openssl/commit/b593fb151eb7373cb85f352e86bcb7225f9850d9
Author: Bob Beck <be...@openssl.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)

Changed paths:
M include/internal/threads_common.h

Log Message:
-----------
Fix OSSL_ATOMICS_LOCKLESS detection for Windows toolchains

The check referenced USE_INTERLOCKEDOR64, but the macro defined above
for MSVC (with the right architecture/version) and 64-bit MinGW is
OSSL_USE_INTERLOCKEDOR64. As a result, OSSL_ATOMICS_LOCKLESS was
never defined on Windows, even though those toolchains do provide
lockless atomics.

Reported-by: Mounir IDRASSI <mounir....@idrix.fr>
Fixes: 26c57423933c "Use the actually correct define for solaris and gcc"

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Milan Broz <mb...@openssl.org>
Reviewed-by: Tim Hudson <t...@openssl.org>
Reviewed-by: Eugene Syromiatnikov <es...@openssl.org>
MergeDate: Mon Jun 22 07:22:31 2026
(Merged from https://github.com/openssl/openssl/pull/31600)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages