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-02-09 15:08:42 +0300
committerJan Vorlicek <janvorli@microsoft.com>2016-02-10 22:47:17 +0300
commit8d00b434b2c7cc0b7a9cb1eb0a57006ae9c76ace (patch)
tree8d4a954e9f13605be393da924fb4b71e9f4592b3 /src/Native/Runtime/PalRedhawkFunctions.h
parent5462e47d416ed48ee5d2d06e837a13e3c3006e70 (diff)
Refactor FLS usage in PAL
This change abstracts the FLS usage for thread shutdown notification in PAL into a general thread shutdown callback registration mechanism. It also implements its Unix version.
Diffstat (limited to 'src/Native/Runtime/PalRedhawkFunctions.h')
-rw-r--r--src/Native/Runtime/PalRedhawkFunctions.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/Native/Runtime/PalRedhawkFunctions.h b/src/Native/Runtime/PalRedhawkFunctions.h
index e301e2a77..2da38028f 100644
--- a/src/Native/Runtime/PalRedhawkFunctions.h
+++ b/src/Native/Runtime/PalRedhawkFunctions.h
@@ -62,18 +62,6 @@ inline void PalExitProcess(UInt32 arg1)
ExitProcess(arg1);
}
-extern "C" void * __stdcall FlsGetValue(UInt32);
-inline void * PalFlsGetValue(UInt32 arg1)
-{
- return FlsGetValue(arg1);
-}
-
-extern "C" UInt32_BOOL __stdcall FlsSetValue(UInt32, void *);
-inline UInt32_BOOL PalFlsSetValue(UInt32 arg1, void * arg2)
-{
- return FlsSetValue(arg1, arg2);
-}
-
extern "C" void __stdcall FlushProcessWriteBuffers();
inline void PalFlushProcessWriteBuffers()
{
@@ -234,12 +222,6 @@ inline UInt32 PalWaitForSingleObjectEx(HANDLE arg1, UInt32 arg2, UInt32_BOOL arg
}
#ifdef PAL_REDHAWK_INCLUDED
-extern "C" UInt32 __stdcall FlsAlloc(PFLS_CALLBACK_FUNCTION);
-inline UInt32 PalFlsAlloc(PFLS_CALLBACK_FUNCTION arg1)
-{
- return FlsAlloc(arg1);
-}
-
extern "C" void __stdcall GetNativeSystemInfo(SYSTEM_INFO *);
inline void PalGetNativeSystemInfo(SYSTEM_INFO * arg1)
{