VirtualBox

Changeset 2565 in vbox for trunk/include


Ignore:
Timestamp:
May 9, 2007 4:28:03 PM (18 years ago)
Author:
vboxsync
Message:

A little experiment trying to get rid of the critsect contention in DevATA.

File:
1 edited

Legend:

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

    r2538 r2565  
    317317{
    318318    /** Padding. */
    319     uint8_t padding[HC_ARCH_BITS == 64 ? 0xa8 : 0x80];
     319    uint8_t padding[HC_ARCH_BITS == 64 ? 0xb8 : 0x80];
    320320#ifdef PDMCRITSECTINT_DECLARED
    321321    /** The internal structure (not normally visible). */
     
    381381 */
    382382PDMR3DECL(int) PDMR3CritSectTryEnter(PPDMCRITSECT pCritSect);
     383
     384/**
     385 * Schedule a event semaphore for signalling upon critsect exit.
     386 *
     387 * @returns VINF_SUCCESS on success.
     388 * @returns VERR_TOO_MANY_SEMAPHORES if the critsect was owned.
     389 * @returns VERR_SEM_DESTROYED if RTCritSectDelete was called while waiting.
     390 * @param   pCritSect       The critical section.
     391 * @param   EventToSignal     The semapore that should be signalled.
     392 */
     393PDMR3DECL(int) PDMR3CritSectScheduleExitEvent(PPDMCRITSECT pCritSect, RTSEMEVENT EventToSignal);
    383394
    384395/**
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