'Is C# System.Thread using the Win32 API?
Is the C# Mulithreading with System.Thread using the Win32 API or how is System.Thread working?
Solution 1:[1]
System.Thread threads are Dot Net runtime managed threads which are different from native win32 threads.
C# or Dot Net managed threads are managed by the Dot Net runtime and when in a running state are backed by native threads. But there is no direct 1 to 1 correlation between the Dot Net runtime managed threads and native threads. For example the native thread used to back a managed thread may be different on when it resumes after a context switch
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | E_net4 - Krabbe mit Hüten |