Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-03-10 15:12:46 +0300
committerJan Vorlicek <janvorli@microsoft.com>2016-03-10 17:02:12 +0300
commit9a04f2c1ccf5f7ce664e1ad21998d125f57901aa (patch)
treeb52b2f668c906da1fed4016ce47bec16a7bb4119 /src/Native/Runtime/PalRedhawkFunctions.h
parentb1785bebfa5317b4145b5d54ffe3b0b372ad3eaa (diff)
Replace numeric thread id by an opaque one
This change replaces usages of the uint thread id by EEThreadId at places where we use it for thread matching. It also adds new PAL function GetPalThreadIdForLogging that returns a numeric thread id for logging purposes if the target platform supports it. The reason for this change is that in pthreads, thread id is an opaque struct and numeric id existence is platform specific.
Diffstat (limited to 'src/Native/Runtime/PalRedhawkFunctions.h')
-rw-r--r--src/Native/Runtime/PalRedhawkFunctions.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Native/Runtime/PalRedhawkFunctions.h b/src/Native/Runtime/PalRedhawkFunctions.h
index 204809639..4f464aac8 100644
--- a/src/Native/Runtime/PalRedhawkFunctions.h
+++ b/src/Native/Runtime/PalRedhawkFunctions.h
@@ -86,12 +86,6 @@ inline HANDLE PalGetCurrentThread()
return GetCurrentThread();
}
-extern "C" UInt32 __stdcall GetCurrentThreadId();
-inline UInt32 PalGetCurrentThreadId()
-{
- return GetCurrentThreadId();
-}
-
#ifdef UNICODE
extern "C" UInt32 __stdcall GetEnvironmentVariableW(__in_z_opt LPCWSTR, __out_z_opt LPWSTR, UInt32);
inline UInt32 PalGetEnvironmentVariable(__in_z_opt LPCWSTR arg1, __out_z_opt LPWSTR arg2, UInt32 arg3)