VirtualBox

Changeset 50543 in vbox


Ignore:
Timestamp:
Feb 21, 2014 2:16:56 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92395
Message:

Main/EventImpl.cpp: more whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/EventImpl.cpp

    r50538 r50543  
    412412    void release()
    413413    {
    414         if (ASMAtomicDecS32(&mRefCnt) <= 0) delete this;
     414        if (ASMAtomicDecS32(&mRefCnt) <= 0)
     415            delete this;
    415416    }
    416417
     
    594595    HRESULT dequeue(IEvent **aEvent, LONG aTimeout, AutoLockBase &aAlock);
    595596    HRESULT eventProcessed(IEvent *aEvent, PendingEventsMap::iterator &pit);
     597
    596598    void addRef()
    597599    {
    598600        ASMAtomicIncS32(&mRefCnt);
    599601    }
     602
    600603    void release()
    601604    {
     
    603606            delete this;
    604607    }
     608
    605609    BOOL isActive()
    606610    {
     
    672676struct EventSource::Data
    673677{
    674     Data() {}
     678    Data()
     679    {}
     680
    675681    Listeners                     mListeners;
    676682    EventMap                      mEvMap;
     
    743749    else
    744750    {
    745         mQEvent =NIL_RTSEMEVENT;
     751        mQEvent = NIL_RTSEMEVENT;
    746752        RT_ZERO(mcsQLock);
    747753        mLastRead = 0;
     
    940946    if (autoUninitSpan.uninitDone())
    941947        return;
     948
    942949    m->mListeners.clear();
    943950    // m->mEvMap shall be cleared at this point too by destructors, assert?
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