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

Fixes some issues related to locking. #859

Merged
merged 4 commits into from
Nov 17, 2022

Conversation

mluisbrown
Copy link
Contributor

  • Fixes issues related to availability of withLock
  • Simplified OS checking around the use of OSAllocatedUnfairLock now that macOS 13 and Xcode 14 have shipped.
  • Bump min OS versions to iOS 10, macOS 10.12, tvOS 10, watchOS 3 so we can remove some cumbersome availability checks.

Checklist

  • Updated CHANGELOG.md.

- Bump min OS versions to iOS 10, macOS 10.12, tvOS 10, watchOS 3
@mluisbrown mluisbrown self-assigned this Nov 17, 2022
@@ -140,34 +136,31 @@ internal class Lock: LockProtocol {
}
#endif

#if compiler(>=5.7)
#if !targetEnvironment(macCatalyst)
Copy link
Contributor Author

@mluisbrown mluisbrown Nov 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that macOS 13 and Xcode 14 are released, we can remove this silly macCatalyst dance and simplify the conditions a lot.

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.

3 participants