Any Methods to Obtain POSIX Thread Handle for System.Threading.Thread in Linux
So I am trying to find a way to obtain the pthread (POSIX thread) handles for my threads.
I found a property named
dont_USE_InternalThread
in Thread
. But it seems to be a pointer to an internal dotnet object (see Corelib.h, Object.h, Threads.h)
I can't get useful information further. Any insights?GitHub
runtime/src/coreclr/vm/threads.h at 3138206e748ea73329ebe26a8824cbb...
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps. - dotnet/runtime
GitHub
runtime/src/coreclr/vm/corelib.h at 3138206e748ea73329ebe26a8824cbb...
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps. - dotnet/runtime
GitHub
runtime/src/coreclr/vm/object.h at 3138206e748ea73329ebe26a8824cbba...
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps. - dotnet/runtime
4 Replies