VirtualBox

Changeset 24100 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Oct 27, 2009 12:02:12 AM (15 years ago)
Author:
vboxsync
Message:

iprt/req.h: Added RTReqIsBusy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/req.h

    r20374 r24100  
    152152     */
    153153    RTSEMEVENT              EventSem;
     154    /** Set if busy (pending or processing requests). */
     155    bool volatile           fBusy;
    154156} RTREQQUEUE;
    155157
     
    363365RTDECL(int) RTReqWait(PRTREQ pReq, unsigned cMillies);
    364366
     367/**
     368 * Checks if the queue is busy or not.
     369 *
     370 * The caller is responsible for dealing with any concurrent submitts.
     371 *
     372 * @returns true if busy, false if idle.
     373 * @param   pQueue              The queue.
     374 */
     375RTDECL(bool) RTReqIsBusy(PRTREQQUEUE pQueue);
    365376
    366377#endif /* IN_RING3 */
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