mirror of
https://github.com/apple/container.git
synced 2026-09-13 03:05:42 +00:00
Add comments clarifying thread-safety (#282)
This commit is contained in:
@@ -68,6 +68,7 @@ struct VZVirtualMachineInstance: VirtualMachineInstance, Sendable {
|
||||
}
|
||||
}
|
||||
|
||||
// `vm` isn't used concurrently.
|
||||
private nonisolated(unsafe) let vm: VZVirtualMachine
|
||||
private let queue: DispatchQueue
|
||||
private let group: MultiThreadedEventLoopGroup
|
||||
|
||||
Reference in New Issue
Block a user