const ThreadContext: type = blk: { if (native_os == .windows) { break :blk std.os.windows.CONTEXT; } else if (have_ucontext) { break :blk os.ucontext_t; } else { break :blk void; } };
[src]
Platform-specific thread state. This contains register state, and on some platforms information about the stack. This is not safe to trivially copy, because some platforms use internal pointers within this structure. To make a copy, use copyContext
.