VirtualBox

Changeset 6541 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 28, 2008 8:19:10 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27568
Message:

Fixed missing logger locking in ring-0.

File:
1 edited

Legend:

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

    r6515 r6541  
    133133DECLINLINE(int) rtlogLock(PRTLOGGER pLogger)
    134134{
    135 #ifdef IN_RING3
     135#ifndef IN_GC
    136136    if (pLogger->MutexSem != NIL_RTSEMFASTMUTEX)
    137137    {
     
    150150DECLINLINE(void) rtlogUnlock(PRTLOGGER pLogger)
    151151{
    152 #ifdef IN_RING3
     152#ifndef IN_GC
    153153    if (pLogger->MutexSem != NIL_RTSEMFASTMUTEX)
    154154        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