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

FastMM5 support for macOS #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Lasibian
Copy link

This version of FastMM5 includes experimental support for macOS. The ARM CPU (M1, M2, ...) architecture is weakly ordered. This could lead to really strange access violations when using threads. I added calls to MemoryBarrier to fix these. I'm not sure if I found all locations that need this. It might still be helpful for finding memory problems in the debug mode. So be careful when using this in production mode.

This version of FastMM5 includes experimental support for macOS. The ARM CPU (M1, M2, ...) architecture is weakly ordered. This could lead to really strange access violations when using threads. I added calls to MemoryBarrier to fix these. I'm not sure if I found all locations that need this. It might still be helpful for finding memory problems in the debug mode. So be careful when using this in production mode.
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.

1 participant