Changeset 5251 in vbox
- Timestamp:
- Oct 12, 2007 12:06:50 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 25218
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxBase.cpp
r4071 r5251 102 102 * or AutoUninitSpan scope), it will succeed as well (but will not 103 103 * increase the number of callers).</li> 104 * </ol> 104 * </ol> 105 105 * 106 106 * Normally, calling addCaller() never blocks. However, if this method is … … 121 121 * @note It is preferrable to use the #addLimitedCaller() rather than calling 122 122 * this method with @a aLimited = |true|, for better 123 * self-descriptiveness. 123 * self-descriptiveness. 124 124 * 125 125 * @sa #addLimitedCaller() … … 294 294 { 295 295 Assert (mObj->mInitDoneSemUsers > 0); 296 296 297 297 /* We have some pending addCaller() calls on other threads (created 298 298 * during InInit), signal that InInit is finished. */ … … 366 366 if (mObj->mCallers > 0 && mObj->mInitDoneSemUsers > 0) 367 367 { 368 /* We have some pending addCaller() calls on other threads, 368 /* We have some pending addCaller() calls on other threads, 369 369 * signal that InInit is finished. */ 370 370 RTSemEventMultiSignal (mObj->mInitDoneSem); … … 794 794 { 795 795 /// @todo (r=dmik) see todo in VirtualBoxBase.h, in 796 // template <class C> void removeDependentChild (C *child) 796 // template <class C> void removeDependentChild (C *child) 797 797 798 798 LogFlowThisFuncEnter(); … … 800 800 AutoLock alock (this); 801 801 AutoLock mapLock (mMapLock); 802 802 803 803 LogFlowThisFunc (("count=%d...\n", mDependentChildren.size())); 804 804 … … 814 814 815 815 Assert (mChildrenLeft == 0); 816 mChildrenLeft = mDependentChildren.size();816 mChildrenLeft = (unsigned)mDependentChildren.size(); 817 817 818 818 for (DependentChildren::iterator it = mDependentChildren.begin(); … … 905 905 { 906 906 /// @todo (r=dmik) see todo in VirtualBoxBase.h, in 907 // template <class C> void removeDependentChild (C *child) 907 // template <class C> void removeDependentChild (C *child) 908 908 909 909 AssertReturn (!!unk, (void) 0);
Note:
See TracChangeset
for help on using the changeset viewer.