Instance Methodnmggithub.kass 3.2.4MachCore
enqueue(_:options:timeout:)
Sends a message to the queue.
func enqueue(_ message: Mach.Message, options: Mach.MessageOptions = [], timeout: mach_msg_timeout_t = MACH_MSG_TIMEOUT_NONE) throws
Sends a message to the queue.
func enqueue(_ message: Mach.Message, options: Mach.MessageOptions = [], timeout: mach_msg_timeout_t = MACH_MSG_TIMEOUT_NONE) throws
s8MachCore0A0V12MessageQueueC7enqueue_7options7timeoutyAC0C0C_AC0C7OptionsVs6UInt32VtKF
What are these?7SIQC
import MachCore
The core module for interacting with the Mach kernel.
class MessageQueue
A message queue.
struct Mach
The Mach kernel.
class Message
A message.
struct MessageOptions
Options for sending and receiving messages.
func dequeue<ReceiveMessage>(_ messageType: ReceiveMessage.Type = Mach.Message.self, options: Mach.MessageOptions = [], timeout: mach_msg_timeout_t = MACH_MSG_TIMEOUT_NONE) throws -> Mach.Message where ReceiveMessage : Mach.Message
Receives a message from the queue.