VirtualBox

Changeset 597 in vbox


Ignore:
Timestamp:
Feb 4, 2007 3:20:10 PM (18 years ago)
Author:
vboxsync
Message:

Added PDMR3CritSectTryEnter

File:
1 edited

Legend:

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

    r588 r597  
    371371 */
    372372PDMDECL(bool) PDMCritSectIsOwner(PCPDMCRITSECT pCritSect);
     373
     374/**
     375 * Try enter a critical section.
     376 *
     377 * @returns VINF_SUCCESS on success.
     378 * @returns VERR_SEM_BUSY if the critsect was owned.
     379 * @returns VERR_SEM_NESTED if nested enter on a no nesting section. (Asserted.)
     380 * @returns VERR_SEM_DESTROYED if RTCritSectDelete was called while waiting.
     381 * @param   pCritSect   The critical section.
     382 */
     383PDMR3DECL(int) PDMR3CritSectTryEnter(PPDMCRITSECT pCritSect);
    373384
    374385/**
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