VirtualBox

Changeset 106029 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Sep 12, 2024 11:38:19 AM (4 months ago)
Author:
vboxsync
Message:

VMM/VM,SSM: Use RTCritSectInitNamed

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/SSM.cpp

    r98103 r106029  
    954954     */
    955955    if (RT_SUCCESS(rc))
    956         rc = RTCritSectInit(&pVM->ssm.s.CancelCritSect);
     956        rc = RTCritSectInitNamed(&pVM->ssm.s.CancelCritSect, "SSM-CancelCritSect");
    957957    if (RT_SUCCESS(rc))
    958958    {
  • trunk/src/VBox/VMM/VMMR3/VM.cpp

    r104507 r106029  
    489489        if (RT_SUCCESS(rc))
    490490        {
    491             rc = RTCritSectInit(&pUVM->vm.s.AtStateCritSect);
     491            rc = RTCritSectInitNamed(&pUVM->vm.s.AtStateCritSect, "VM-AtStateCritSect");
    492492            if (RT_SUCCESS(rc))
    493493            {
    494                 rc = RTCritSectInit(&pUVM->vm.s.AtErrorCritSect);
     494                rc = RTCritSectInitNamed(&pUVM->vm.s.AtErrorCritSect, "VM-AtErrorCritSect");
    495495                if (RT_SUCCESS(rc))
    496496                {
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