VirtualBox

Changeset 8677 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 7, 2008 6:13:32 PM (17 years ago)
Author:
vboxsync
Message:

Fixed lock accounting for locks aquired via VMM[GC|R0]CallHost.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmcritsect.h

    r8155 r8677  
    7474
    7575/**
    76  * Leaves a critical section entered with PDMCritSectEnter().
     76 * Enters a PDM critical section.
    7777 *
    7878 * @returns VINF_SUCCESS if entered successfully.
     
    8585 */
    8686PDMDECL(int) PDMCritSectEnter(PPDMCRITSECT pCritSect, int rcBusy);
     87
     88/**
     89 * Enters a PDM critical section.
     90 *
     91 * @returns VINF_SUCCESS if entered successfully.
     92 * @returns rcBusy when encountering a busy critical section in GC/R0.
     93 * @returns VERR_SEM_DESTROYED if the critical section is dead.
     94 *
     95 * @param   pCritSect           The PDM critical section to enter.
     96 * @param   fCallHost           Whether this is a VMMGCCallHost() or VMMR0CallHost() request.
     97 */
     98PDMR3DECL(int) PDMR3CritSectEnterEx(PPDMCRITSECT pCritSect, bool fCallHost);
    8799
    88100/**
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