VirtualBox
Show
Ignore:
Timestamp:
05/07/08 20:13:32 (8 months ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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/** 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy