Structuremadmachineio.swiftio 0.1.0SwiftIO
MessageQueue
Thread.swift:46struct MessageQueue
struct MessageQueue
import SwiftIO
The SwiftIO library allows you to access and control the hardware in an easy way.
protocol Sendable
init(maxMessageBytes: Int, maxMessageCount: Int)
func destroy()
func purge()
@discardableResult func receive(into data: UnsafeMutableRawPointer, timeout: Int = Int(SWIFT_FOREVER)) -> Result<(), Errno>
@discardableResult func send(data: UnsafeRawPointer, timeout: Int = Int(SWIFT_FOREVER)) -> Result<(), Errno>