Hello..
I have just thought more about C#, and i think that when you work
with "threads" you are not able to get the native "handles" and "IDs" of
the threads, this is why managed code of C# is not "flexible", so with
C# you can not ooptimize the threads to use more than 64 logical
processors under windows and with C# you can not optimize more for NUMA,
this is why i will not port my Delphi and FreePascal projects to C#,
because many of my projects are optimized for NUMA and optimized to use
more than 64 logical processors.
Read the following about C# to notice it:
"A machine can have larger than 64 logical processors. In such cases the
processors are grouped into chunks of 64. Each such group is called a
processor group. .NET framework can only access the first processor
group, so maximum number that this property can return is 64 (or 32 for
32-bit machines)."
Read more here:
http://www.volatileread.com/Thread/Browse?pg=3&type=newest&tags=multithreading&questionType=1&customPageId=1
Thank you,
Amine Moulay Ramdane.