Skip to content

Conversation

czechboy0
Copy link
Contributor

Motivation:

Catch potential data races at build time.

Modifications:

  • Enabled strict concurrency checking in the Package.swift.
  • Made a few types Sendable: AresChannel, CAresDNSResolver, Ares, QueryProcessor, DNSSDDNSResolver.

Result:

Fewer potential data races can sneak in.

Test Plan

Ran tests locally, did not see any concurrency warnings or errors, all tests passed.

@czechboy0 czechboy0 added the 🔨 semver/patch No public API change. label Dec 3, 2024
@czechboy0 czechboy0 merged commit 5160e36 into apple:main Dec 3, 2024
27 checks passed
@czechboy0 czechboy0 deleted the hd-strict-concurrency branch December 3, 2024 13:16
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.

2 participants