Skip to content

Conversation

@czechboy0
Copy link
Contributor

Motivation

Fix #91, a TSAN failure in FileAccessLogger.

Modifications

Migrated from a manual locked state machine to a lazy static let.

Result

Fixed the TSAN failure plus simplified the code.

Test Plan

Manually tested by rerunning the console-kit tests with the fixed version, TSAN failure doesn't happen anymore.

@czechboy0 czechboy0 requested a review from FranzBusch December 5, 2025 11:09
@czechboy0 czechboy0 added the 🔨 semver/patch No public API change. label Dec 5, 2025
@czechboy0 czechboy0 merged commit b1fc0c0 into apple:main Dec 5, 2025
27 of 28 checks passed
@czechboy0 czechboy0 deleted the hd-tsan-fix branch December 5, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TSAN warnings with InMemoryProvider in parallel testing

2 participants