Static Propertynmggithub.kass 3.2.4MachCore
fifo
First-in-first-out policy.
static let fifo: Mach.SemaphorePolicy
First-in-first-out policy.
static let fifo: Mach.SemaphorePolicy
import MachCore
The core module for interacting with the Mach kernel.
struct SemaphorePolicy
A synchronization policy for a semaphore.
struct Mach
The Mach kernel.
static let allCases: [`Self`]
All known synchronization policies.
static let lifo: Mach.SemaphorePolicy
Last-in-first-out policy.
init(name: String?, rawValue: sync_policy_t)
Represents a raw policy option with an optional name.
var name: String?
The name of the policy option, if it can be determined.
let rawValue: sync_policy_t
The raw value of the policy option.