VirtualBox

Changeset 45678 in vbox for trunk/include


Ignore:
Timestamp:
Apr 23, 2013 11:28:41 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85204
Message:

Runtime/aio: Add flags parameter to RTFileAioCtxCreate

File:
1 edited

Legend:

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

    r44528 r45678  
    12161216 *                          context should support an unlimited number of
    12171217 *                          requests.
    1218  */
    1219 RTDECL(int) RTFileAioCtxCreate(PRTFILEAIOCTX phAioCtx, uint32_t cAioReqsMax);
     1218 * @param   fFlags          Combination of RTFILEAIOCTX_FLAGS_*.
     1219 */
     1220RTDECL(int) RTFileAioCtxCreate(PRTFILEAIOCTX phAioCtx, uint32_t cAioReqsMax,
     1221                               uint32_t fFlags);
    12201222
    12211223/** Unlimited number of requests.
    12221224 * Used with RTFileAioCtxCreate and RTFileAioCtxGetMaxReqCount. */
    12231225#define RTFILEAIO_UNLIMITED_REQS    UINT32_MAX
     1226
     1227/** When set RTFileAioCtxWait() will always wait for completing requests,
     1228 * even when there is none waiting currently, instead of returning
     1229 * VERR_FILE_AIO_NO_REQUEST. */
     1230#define RTFILEAIOCTX_FLAGS_WAIT_WITHOUT_PENDING_REQUESTS RT_BIT_32(0)
     1231/** mask of valid flags. */
     1232#define RTFILEAIOCTX_FLAGS_VALID_MASK (RTFILEAIOCTX_FLAGS_WAIT_WITHOUT_PENDING_REQUESTS)
    12241233
    12251234/**
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette