Skip to content

Conversation

@OBattler
Copy link
Member

Use volatile on x86/x64 (native atomic guarantees) and C11 atomics on ARM (explicit synchronization needed). Restores performance on x86 while keeping ARM stability.

Summary

Briefly describe what you are submitting.

Checklist

  • Closes #xxx
  • I have tested my changes locally and validated that the functionality works as intended
  • I have discussed this with core contributors already
  • This pull request requires changes to the ROM set

References

Provide links to datasheets or other documentation that helped you implement this pull request.

Use volatile on x86/x64 (native atomic guarantees) and C11 atomics
on ARM (explicit synchronization needed). Restores performance on
x86 while keeping ARM stability.
@OBattler OBattler merged commit 195affb into 86Box:master Nov 24, 2025
44 checks passed
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