VirtualBox

Ignore:
Timestamp:
Jul 17, 2013 10:17:13 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87319
Message:

IPRT: Kernel thread-context hooks, Solaris implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c

    r47199 r47206  
    4545*******************************************************************************/
    4646/**
    47  * The internal thread-context event.
     47 * The internal thread-context object.
    4848 */
    4949typedef struct RTTHREADCTXINT
     
    109109 * Worker function for RTThreadCtxHooks(Deregister|Destroy)().
    110110 *
    111  * @param   pThis   Pointer to the internal thread-context struct.
     111 * @param   pThis   Pointer to the internal thread-context object.
    112112 */
    113113DECLINLINE(void) rtThreadCtxHooksDeregister(PRTTHREADCTXINT pThis)
     
    150150    AssertMsgReturnVoid(pThis->u32Magic == RTTHREADCTXINT_MAGIC, ("pThis->u32Magic=%RX32 pThis=%p\n", pThis->u32Magic, pThis));
    151151    Assert(pThis->hOwner == RTThreadSelf());
     152    Assert(RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    152153
    153154    /*
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