Changeset 50543 in vbox
- Timestamp:
- Feb 21, 2014 2:16:56 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92395
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/EventImpl.cpp
r50538 r50543 412 412 void release() 413 413 { 414 if (ASMAtomicDecS32(&mRefCnt) <= 0) delete this; 414 if (ASMAtomicDecS32(&mRefCnt) <= 0) 415 delete this; 415 416 } 416 417 … … 594 595 HRESULT dequeue(IEvent **aEvent, LONG aTimeout, AutoLockBase &aAlock); 595 596 HRESULT eventProcessed(IEvent *aEvent, PendingEventsMap::iterator &pit); 597 596 598 void addRef() 597 599 { 598 600 ASMAtomicIncS32(&mRefCnt); 599 601 } 602 600 603 void release() 601 604 { … … 603 606 delete this; 604 607 } 608 605 609 BOOL isActive() 606 610 { … … 672 676 struct EventSource::Data 673 677 { 674 Data() {} 678 Data() 679 {} 680 675 681 Listeners mListeners; 676 682 EventMap mEvMap; … … 743 749 else 744 750 { 745 mQEvent = NIL_RTSEMEVENT;751 mQEvent = NIL_RTSEMEVENT; 746 752 RT_ZERO(mcsQLock); 747 753 mLastRead = 0; … … 940 946 if (autoUninitSpan.uninitDone()) 941 947 return; 948 942 949 m->mListeners.clear(); 943 950 // m->mEvMap shall be cleared at this point too by destructors, assert?
Note:
See TracChangeset
for help on using the changeset viewer.