convert(_:withFlavor:thread:direction:)

Converts a thread state either to or from the current thread.

ThreadStateConvert.swift:28
static func convert<DataType>(_ state: DataType, withFlavor flavor: Mach.ThreadStateFlavor, thread: Mach.Thread, direction: Mach.ThreadStateConvertDirection) throws -> DataType where DataType : BitwiseCopyable