VirtualBox

Changeset 19495 in vbox


Ignore:
Timestamp:
May 7, 2009 5:45:25 PM (16 years ago)
Author:
vboxsync
Message:

VM: Name the EMTs differently if there are more than one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VM.cpp

    r19454 r19495  
    447447                        for (i = 0; i < cCpus; i++)
    448448                        {
    449                             rc = RTThreadCreate(&pUVM->aCpus[i].vm.s.ThreadEMT, vmR3EmulationThread, &pUVM->aCpus[i], _1M,
    450                                                 RTTHREADTYPE_EMULATION, RTTHREADFLAGS_WAITABLE, "EMT");
     449                            rc = RTThreadCreateF(&pUVM->aCpus[i].vm.s.ThreadEMT, vmR3EmulationThread, &pUVM->aCpus[i], _1M,
     450                                                 RTTHREADTYPE_EMULATION, RTTHREADFLAGS_WAITABLE,
     451                                                 cCpus > 1 ? "EMT-%u" : "EMT", i);
    451452                            if (RT_FAILURE(rc))
    452453                                break;
Note: See TracChangeset for help on using the changeset viewer.

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