Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.73] Fix calls to std::mutex::lock #14225

Open
wants to merge 2 commits into
base: 0.73-stable
Choose a base branch
from

Conversation

vmoroz
Copy link
Member

@vmoroz vmoroz commented Dec 20, 2024

Cherry pick #14223

Description

Fix failing calls to std::mutex::lock.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

There are some reports that a first call to std::mutex::lock fail.
The issue seems to be related to ABI incompatibility between the RNW DLL and the VCLib DLL.

What

To address this issue we define the _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR preprocessor definition.
See:

Changelog

Add _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR preprocessor definition to fix failing calls to std::mutex::lock.

Microsoft Reviewers: Open in CodeFlow

@vmoroz vmoroz requested a review from a team as a code owner December 20, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants