VirtualBox

Changeset 25724 in vbox for trunk/include/iprt/file.h


Ignore:
Timestamp:
Jan 11, 2010 2:45:34 PM (15 years ago)
Author:
vboxsync
Message:

iprt: Use RTMSINTERVAL for timeouts. Fixed missing timeout underflow checks in two RTFileAioCtxWait implementations.

File:
1 edited

Legend:

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

    r25645 r25724  
    11951195 * @param   cMinReqs        The minimum number of requests which have to
    11961196 *                          complete before this function returns.
    1197  * @param   cMillisTimeout  The number of milliseconds to wait before returning
    1198  *                          VERR_TIMEOUT. Use RT_INDEFINITE_WAIT to wait
     1197 * @param   cMillies        The number of milliseconds to wait before returning
     1198 *                          VERR_TIMEOUT.  Use RT_INDEFINITE_WAIT to wait
    11991199 *                          forever.
    12001200 * @param   pahReqs         Pointer to an array where the handles of the
     
    12121212 *          RT_ELEMENTS and similar macros.
    12131213 */
    1214 RTDECL(int) RTFileAioCtxWait(RTFILEAIOCTX hAioCtx, size_t cMinReqs, unsigned cMillisTimeout,
     1214RTDECL(int) RTFileAioCtxWait(RTFILEAIOCTX hAioCtx, size_t cMinReqs, RTMSINTERVAL cMillies,
    12151215                             PRTFILEAIOREQ pahReqs, size_t cReqs, uint32_t *pcReqs);
    12161216
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