VirtualBox

Ignore:
Timestamp:
Aug 25, 2022 2:46:22 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153324
Message:

IPRT: Resolve IsDebuggerPresent and GetSystemTimeAsFileTime dynamically as they are not present on windows version before NT4. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/thread-win.cpp

    r96407 r96476  
    195195DECLINLINE(void) rtThreadWinSetThreadName(PRTTHREADINT pThread, DWORD idThread)
    196196{
    197     if (IsDebuggerPresent())
     197    if (g_pfnIsDebuggerPresent && g_pfnIsDebuggerPresent())
    198198        rtThreadWinTellDebuggerThreadName(idThread, &pThread->szName[0]);
    199199
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