VirtualBox

Changeset 21995 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Aug 5, 2009 1:05:05 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50730
Message:

RTSemEventSignal/solaris-r0drv: interrupt flag assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c

    r20793 r21995  
    125125RTDECL(int)  RTSemEventSignal(RTSEMEVENT EventSem)
    126126{
     127#ifdef RT_STRICT
     128    bool fInts = ASMIntAreEnabled();
     129#endif
    127130    PRTSEMEVENTINTERNAL pEventInt = (PRTSEMEVENTINTERNAL)EventSem;
    128131    AssertPtrReturn(pEventInt, VERR_INVALID_HANDLE);
     
    143146
    144147    mutex_exit(&pEventInt->Mtx);
     148
     149#ifdef RT_STRICT
     150    AssertMsg(fInts == ASMIntAreEnabled(), ("%d\n", fInts));
     151#endif
    145152    return VINF_SUCCESS;
    146153}
     
    166173    {
    167174        ASMAtomicIncU32(&pEventInt->cWaiters);
    168        
     175
    169176        /*
    170177         * Translate milliseconds into ticks and go to sleep.
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