VirtualBox

Changeset 55976 in vbox for trunk/src


Ignore:
Timestamp:
May 20, 2015 4:39:40 PM (10 years ago)
Author:
vboxsync
Message:

Runtime/r0drv: Fix typo in assertion in thread context hooks.

Location:
trunk/src/VBox/Runtime/r0drv
Files:
2 edited

Legend:

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

    r55863 r55976  
    209209                    VERR_INVALID_HANDLE);
    210210    Assert(RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    211     Assert(pThis->fEnabled || pThis->hOwner == RTThreadNativeSelf());
     211    Assert(!pThis->fEnabled || pThis->hOwner == RTThreadNativeSelf());
    212212
    213213    /*
  • trunk/src/VBox/Runtime/r0drv/solaris/threadctxhooks-r0drv-solaris.c

    r55863 r55976  
    218218    RTTHREADCTX_VALID_RETURN_RC(hCtxHook, VERR_INVALID_HANDLE);
    219219    Assert(RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    220     Assert(pThis->fEnabled || pThis->hOwner == RTThreadNativeSelf());
     220    Assert(!pThis->fEnabled || pThis->hOwner == RTThreadNativeSelf());
    221221
    222222    /*
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