"vscode:/vscode.git/clone" did not exist on "03597a01ee50ed33e9dfd640b249b4be3799d395"
Commit af71b660 authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

Merge pull request #2570 from xieyubo:1.10

PiperOrigin-RevId: 281971090
parents 717ce7fe dcdb6506
...@@ -537,6 +537,9 @@ class ThreadLocalRegistryImpl { ...@@ -537,6 +537,9 @@ class ThreadLocalRegistryImpl {
// Returns a value that can be used to identify the thread from other threads. // Returns a value that can be used to identify the thread from other threads.
static ThreadLocalValueHolderBase* GetValueOnCurrentThread( static ThreadLocalValueHolderBase* GetValueOnCurrentThread(
const ThreadLocalBase* thread_local_instance) { const ThreadLocalBase* thread_local_instance) {
#ifdef _MSC_VER
MemoryIsNotDeallocated memory_is_not_deallocated;
#endif // _MSC_VER
DWORD current_thread = ::GetCurrentThreadId(); DWORD current_thread = ::GetCurrentThreadId();
MutexLock lock(&mutex_); MutexLock lock(&mutex_);
ThreadIdToThreadLocals* const thread_to_thread_locals = ThreadIdToThreadLocals* const thread_to_thread_locals =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment