Changeset 83124 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Feb 20, 2020 5:23:23 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136236
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r83101 r83124 1973 1973 $(if-expr 1,r3/win/time-win.cpp,r3/nt/time-nt.cpp) \ 1974 1974 r3/win/time2-win.cpp \ 1975 r3/win/tls-win.cpp \ 1975 1976 r3/win/utf16locale-win.cpp \ 1976 1977 r3/win/utf8-win.cpp \ … … 2196 2197 VBoxRT_SOURCES.x86 := $(RuntimeR3_SOURCES.x86) 2197 2198 VBoxRT_SOURCES.amd64 := $(RuntimeR3_SOURCES.amd64) 2198 VBoxRT_SOURCES.win := $(filter-out r3/win/tls-win.cpp, $(VBoxRT_SOURCES.win))\2199 VBoxRT_SOURCES.win += \ 2199 2200 r3/win/dllmain-win.cpp \ 2200 r3/win/tls-dllmain-win.cpp \ 2201 $(call TARGET_PATH,VBoxRT)/VBoxRT.def 2201 $(VBoxRT_0_OUTDIR)/VBoxRT.def 2202 2202 VBoxRT_INCS := $(RuntimeR3_INCS) 2203 2203 VBoxRT_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET)) -
trunk/src/VBox/Runtime/common/misc/thread.cpp
r82968 r83124 664 664 Assert(pThread->cRefs >= 1); 665 665 666 /* 667 * Destroy TLS entries. 668 */ 666 669 #ifdef IPRT_WITH_GENERIC_TLS 667 /*668 * Destroy TLS entries.669 */670 670 rtThreadTlsDestruction(pThread); 671 #endif /* IPRT_WITH_GENERIC_TLS */ 671 #elif defined(RT_OS_WINDOWS) 672 rtThreadWinTlsDestruction(); 673 #endif 672 674 673 675 /* -
trunk/src/VBox/Runtime/include/internal/thread.h
r83101 r83124 265 265 #endif 266 266 #ifdef RT_OS_WINDOWS 267 DECLHIDDEN(void) rtT lsWinDetachThread(void); /* in tls-dllmain-win.cpp */267 DECLHIDDEN(void) rtThreadWinTlsDestruction(void); /* in tls-win.cpp */ 268 268 #endif 269 269 -
trunk/src/VBox/Runtime/r3/win/dllmain-win.cpp
r83101 r83124 82 82 83 83 case DLL_THREAD_DETACH: 84 rtT lsWinDetachThread();84 rtThreadWinTlsDestruction(); 85 85 rtThreadNativeDetach(); 86 86 break; -
trunk/src/VBox/Runtime/r3/win/tls-win.cpp
r83123 r83124 200 200 * Called by dllmain-win.cpp when a thread detaches. 201 201 */ 202 DECLHIDDEN(void) rtT lsWinDetachThread(void)202 DECLHIDDEN(void) rtThreadWinTlsDestruction(void) 203 203 { 204 204 if (ASMAtomicReadU32(&g_cTlsDtors) > 0)
Note:
See TracChangeset
for help on using the changeset viewer.