VirtualBox

Changeset 81823 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 13, 2019 11:52:30 AM (5 years ago)
Author:
vboxsync
Message:

IPRT/req.h: Docs nits.

File:
1 edited

Legend:

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

    r81822 r81823  
    7575typedef enum RTREQFLAGS
    7676{
    77     /** The request returns a iprt status code. */
     77    /** The request returns a IPRT status code. */
    7878    RTREQFLAGS_IPRT_STATUS  = 0,
    7979    /** The request is a void request and have no status code. */
     
    9999 * Create a request packet queue
    100100 *
    101  * @returns iprt status code.
     101 * @returns IPRT status code.
    102102 * @param   phQueue         Where to store the request queue handle.
    103103 */
     
    107107 * Destroy a request packet queue
    108108 *
    109  * @returns iprt status code.
     109 * @returns IPRT status code.
    110110 * @param   hQueue          The request queue.
    111111 */
     
    115115 * Process one or more request packets
    116116 *
    117  * @returns iprt status code.  Any non-VINF_SUCCESS returns from request
     117 * @returns IPRT status code.  Any non-VINF_SUCCESS returns from request
    118118 *          processing is immediately propagated to the caller.
    119119 * @retval  VERR_TIMEOUT if @a cMillies was reached without the packet being
     
    171171 * The returned request packet must be freed using RTReqRelease().
    172172 *
    173  * @returns iprt status code.
     173 * @returns IPRT status code.
    174174 *          Will not return VERR_INTERRUPTED.
    175175 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed.
     
    197197 * The returned request packet must be freed using RTReqRelease().
    198198 *
    199  * @returns iprt status code.
     199 * @returns IPRT status code.
    200200 *          Will not return VERR_INTERRUPTED.
    201201 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed.
     
    225225 * The returned request packet must be freed using RTReqRelease().
    226226 *
    227  * @returns iprt status code.
     227 * @returns IPRT status code.
    228228 *          Will not return VERR_INTERRUPTED.
    229229 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed.
     
    268268 * union and queues the request.
    269269 *
    270  * @returns iprt status code.
     270 * @returns IPRT status code.
    271271 *
    272272 * @param   hQueue          The request queue.
     
    420420
    421421/**
    422  * Read a statistics value from the request thread pool.
     422 * Reads a statistics value from the request thread pool.
    423423 *
    424424 * @returns The value, UINT64_MAX if an invalid parameter was given.
     
    433433 * This is mostly for internal use, please use the convenience methods.
    434434 *
    435  * @returns iprt status code.
     435 * @returns IPRT status code.
    436436 *
    437437 * @param   hPool           The request thread pool handle.
     
    442442
    443443/**
    444  * Call a function on a worker thread.
     444 * Calls a function on a worker thread.
    445445 *
    446446 * @returns IPRT status code.
     
    460460 *          that's larger than an uintptr_t is problematic.
    461461 */
    462 RTDECL(int) RTReqPoolCallEx( RTREQPOOL hPool, RTMSINTERVAL cMillies, PRTREQ *phReq, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...);
    463 
    464 
    465 /**
    466  * Call a function on a worker thread.
     462RTDECL(int) RTReqPoolCallEx(RTREQPOOL hPool, RTMSINTERVAL cMillies, PRTREQ *phReq, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...);
     463
     464
     465/**
     466 * Calls a function on a worker thread.
    467467 *
    468468 * @returns IPRT status code.
     
    483483
    484484/**
    485  * Call a function on a worker thread, wait for it to return.
     485 * Calls a function on a worker thread, wait for it to return.
    486486 *
    487487 * @returns IPRT status code returned by @a pfnFunction or request pool error.
     
    498498
    499499/**
    500  * Call a function on a worker thread, don't wait for it to return.
     500 * Calls a function on a worker thread, don't wait for it to return.
    501501 *
    502502 * @returns IPRT status code.
     
    514514
    515515/**
    516  * Call a void function on a worker thread.
     516 * Calls a void function on a worker thread.
    517517 *
    518518 * @returns IPRT status code.
     
    543543
    544544/**
    545  * Retainsa reference to a request.
     545 * Retains a reference to a request.
    546546 *
    547547 * @returns The new reference count, UINT32_MAX on invalid handle (asserted).
     
    561561
    562562/**
    563  * Queue a request.
    564  *
    565  * The quest must be allocated using RTReqQueueAlloc() or RTReqPoolAlloc() and
     563 * Queues a request.
     564 *
     565 * The request must be allocated using RTReqQueueAlloc() or RTReqPoolAlloc() and
    566566 * contain all the required data.
    567567 *
     
    570570 * use RT_INDEFINITE_WAIT.
    571571 *
    572  * @returns iprt status code.
     572 * @returns IPRT status code.
    573573 *          Will not return VERR_INTERRUPTED.
    574574 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed.
     
    583583
    584584/**
    585  * Wait for a request to be completed.
    586  *
    587  * @returns iprt status code.
     585 * Waits for a request to be completed.
     586 *
     587 * @returns IPRT status code.
    588588 *          Will not return VERR_INTERRUPTED.
    589589 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed.
     
    596596
    597597/**
    598  * Get the status of the request.
    599  *
    600  * @returns Status code in the IPRT tradition.
    601  *
    602  * @param   pReq            The request.
     598 * Gets the status of the request.
     599 *
     600 * @returns IPRT status code.
     601 *
     602 * @param   pReq            The request to get the status for.
    603603 */
    604604RTDECL(int) RTReqGetStatus(PRTREQ pReq);
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