summaryrefslogtreecommitdiff
path: root/src/vm/comsynchronizable.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-01-03 03:52:30 -1000
committerGitHub <noreply@github.com>2019-01-03 03:52:30 -1000
commiteff427c02a89e135c38a96032feb3c9a6a13cf5b (patch)
tree1e190aef3a871e6bffb56edb67668c1cc31dfd3a /src/vm/comsynchronizable.h
parentfaf2acefa7d88a446f561b38740a72d8838440a5 (diff)
downloadcoreclr-eff427c02a89e135c38a96032feb3c9a6a13cf5b.tar.gz
coreclr-eff427c02a89e135c38a96032feb3c9a6a13cf5b.tar.bz2
coreclr-eff427c02a89e135c38a96032feb3c9a6a13cf5b.zip
Cleanup current culture handling in the unmanaged runtime (#21706)
Large portion of the current culture handling in the unmanaged runtime inherited from desktop has been no-op. The nativeInitCultureAccessors QCall that it used to depend on desktop got (almost) never called in CoreCLR. - Delete resetting of current culture on threadpool threads. It was needed in desktop because of a very tricky flow of current culture between appdomains. It is superseded by the flowing the current culture via AsyncLocal in CoreCLR. - Comment out fetch of managed current culture for unmanaged resource lookup. It has number of problems that are not easy to fix. We are not localizing the unmanaged runtime currently anyway, so it is ok to just comment it out. - Fix the rest to call CultureInfo directly without going through Thread.CurrentThread
Diffstat (limited to 'src/vm/comsynchronizable.h')
-rw-r--r--src/vm/comsynchronizable.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vm/comsynchronizable.h b/src/vm/comsynchronizable.h
index a770fba042..afe6fd7f0b 100644
--- a/src/vm/comsynchronizable.h
+++ b/src/vm/comsynchronizable.h
@@ -84,7 +84,6 @@ public:
static FCDECL3(INT32, SetApartmentState, ThreadBaseObject* pThisUNSAFE, INT32 iState, CLR_BOOL fireMDAOnMismatch);
static FCDECL1(void, StartupSetApartmentState, ThreadBaseObject* pThis);
#endif // FEATURE_COMINTEROP_APARTMENT_SUPPORT
- static void QCALLTYPE nativeInitCultureAccessors();
static
void QCALLTYPE InformThreadNameChange(QCall::ThreadHandle thread, LPCWSTR name, INT32 len);