VirtualBox

Ignore:
Timestamp:
Jul 18, 2013 9:20:41 AM (11 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/threadctxhooks: Assert on Linux that the hook invocation means it has been registered.

File:
1 edited

Legend:

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

    r47206 r47229  
    8181    AssertPtr(pThis);
    8282    AssertPtr(pThis->pfnThreadCtxHook);
     83    AssertPtr(pThis->fRegistered);
    8384    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    8485
     
    101102    AssertPtr(pThis);
    102103    AssertPtr(pThis->pfnThreadCtxHook);
     104    AssertPtr(pThis->fRegistered);
    103105
    104106    pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_RESUMED, pThis->pvUser);
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