|
Is there a way to detect the amount of CPU threads / cores there are and do something accordingly?
Eg.
if CPU_THREADS = 6 then
begin
do_stuff
end else begin
do_other_stuff
end;
Asking because some multithreading tools crash when dealing with 6 or 12 threads.
|