pub const Id = switch (native_os)
Represents an ID per thread guaranteed to be unique only within a process.
262 263 264 265 266 267 268 269 270 271 272 273 274 275
pub const Id = switch (native_os) { .linux, .dragonfly, .netbsd, .freebsd, .openbsd, .haiku, .wasi, .serenity, => u32, .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos => u64, .windows => windows.DWORD, else => usize, }
Represents an ID per thread guaranteed to be unique only within a process.