mirror of
https://github.com/apple/container.git
synced 2026-09-20 22:55:40 +00:00
Add comments clarifying thread-safety (#282)
This commit is contained in:
@@ -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, *)
|
||||
|
||||
Reference in New Issue
Block a user