pub const THREAD = struct 284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304pub const THREAD = struct {
pub const NULL: thread_t = 0;
pub const BASIC = struct {
pub const INFO = 3;
pub const INFO_COUNT: mach_msg_type_number_t = @sizeOf(thread_basic_info) / @sizeOf(natural_t);
};
pub const IDENTIFIER = struct {
pub const INFO = 4;
pub const INFO_COUNT: mach_msg_type_number_t = @sizeOf(thread_identifier_info) / @sizeOf(natural_t);
};
pub const STATE = struct {
pub const NONE = switch (native_arch) {
.aarch64 => 5,
.x86_64 => 13,
else => @compileError("unsupported arch"),
};
};
}