Check number of logical cpu cores

Shows the number of logical CPU cores in current machine using std.Thread.getCpuCount.

const std = @import("std");
const print = std.debug.print;

pub fn main() !void {
    print("Number of logical cores is {}\n", .{try std.Thread.getCpuCount()});
}
Last change: 2024-01-01, commit: 53562ec