VirtualBox

Ignore:
Timestamp:
Feb 20, 2020 5:23:23 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136236
Message:

IPRT: Merged the two tls files, with the sideeffect that destructors only works for IPRT threads in non-dll setups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/thread.cpp

    r82968 r83124  
    664664    Assert(pThread->cRefs >= 1);
    665665
     666    /*
     667     * Destroy TLS entries.
     668     */
    666669#ifdef IPRT_WITH_GENERIC_TLS
    667     /*
    668      * Destroy TLS entries.
    669      */
    670670    rtThreadTlsDestruction(pThread);
    671 #endif /* IPRT_WITH_GENERIC_TLS */
     671#elif defined(RT_OS_WINDOWS)
     672    rtThreadWinTlsDestruction();
     673#endif
    672674
    673675    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette