VirtualBox

Changeset 47370 in vbox for trunk/include


Ignore:
Timestamp:
Jul 24, 2013 12:35:39 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87517
Message:

iprt/thread.h: Define/document the return values more explicitly when NIL_RTHREADCTX handles are involved.

File:
1 edited

Legend:

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

    r47352 r47370  
    636636 * Releases a reference to a thread-context hook.
    637637 *
    638  * @returns New reference count, if 0 the thread-context hook was freed.
    639  *          UINT32_MAX is returned if the handle is invalid (asserted).
    640  * @param   phThreadCtx         Pointer to the thread-context handle.
     638 * @returns New reference count.
     639 * @retval  0 if the thread-context hook was freed or the handle was
     640 *          NIL_RTTHREADCTX.
     641 * @retval  UINT32_MAX is returned if the handle is invalid (asserted).
     642 *
     643 * @param   phThreadCtx         Pointer to the thread-context handle (can be
     644 *                              NIL_RTTHREADCTX).
    641645 *
    642646 * @remarks This can be called from any thread but must be called with
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