VirtualBox

Changeset 1766 in vbox for trunk/src/VBox/Runtime/r3/win32


Ignore:
Timestamp:
Mar 28, 2007 12:51:24 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19936
Message:

Introduce a dummy thread name parameter to rtThreadMain to allow
identifying the thread from a debugger backtrace.

File:
1 edited

Legend:

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

    r248 r1766  
    9595        AssertReleaseMsgFailed(("failed to set self TLS. lasterr=%d thread '%s'\n", GetLastError(), pThread->szName));
    9696
    97     int rc = rtThreadMain(pThread, dwThreadId);
     97    int rc = rtThreadMain(pThread, dwThreadId, &pThread->szName[0]);
    9898
    9999    TlsSetValue(g_dwSelfTLS, NULL);
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