VirtualBox

Changeset 2963 in vbox for trunk


Ignore:
Timestamp:
May 31, 2007 1:26:14 PM (18 years ago)
Author:
vboxsync
Message:

rtlogLock & rtlogUnlock in the runtime shouldn't use the fast semaphores in ring 0 either. They have IRQL restrictions too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/log.cpp

    r2909 r2963  
    138138DECLINLINE(int) rtlogLock(PRTLOGGER pLogger)
    139139{
    140 #ifndef IN_GC
     140#ifdef IN_RING3
    141141    if (pLogger->MutexSem != NIL_RTSEMFASTMUTEX)
    142142    {
     
    155155DECLINLINE(void) rtlogUnlock(PRTLOGGER pLogger)
    156156{
    157 #ifndef IN_GC
     157#ifdef IN_RING3
    158158    if (pLogger->MutexSem != NIL_RTSEMFASTMUTEX)
    159159        RTSemFastMutexRelease(pLogger->MutexSem);
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