The MitraX package provides a shared-memory synchronization manager (Shared Manager) that implements a mutex-to-operation strategy (as opposed to the traditional mutex-to-memory strategy). It can be thought of as an efficient automatically provided safety net for shared-memory operations and is a breeze to work with.
This is an alternative implementation of the original Mitra module. For more documentation, see here.
- Go to "File" -> "Swift Packages" -> "Add Package Dependency"
- Paste MitraX repository URL into the search field:
https://github.com/SerhiyButz/MitraX.git
-
Click "Next"
-
Ensure that the "Rules" field is set to something like this: "Version: Up To Next Major: 0.1.1"
-
Click "Next" to finish
For more info, check out here.
This project is licensed under the MIT license.