Add comments clarifying thread-safety (#282)

This commit is contained in:
Dmitry Kovba
2025-09-08 23:15:22 -07:00
committed by GitHub
parent 9aa552593b
commit 1b1cfdbaf3
6 changed files with 8 additions and 5 deletions
@@ -31,6 +31,7 @@ public final class NATNetworkInterface: Interface, Sendable {
public let macAddress: String?
@available(macOS 26, *)
// `reference` isn't used concurrently.
public nonisolated(unsafe) let reference: vmnet_network_ref!
@available(macOS 26, *)