Changeset 37702 in vbox for trunk/src/VBox/VMM/VMMAll/EMAll.cpp
- Timestamp:
- Jun 30, 2011 10:09:59 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72562
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r36315 r37702 3136 3136 VMMDECL(bool) EMRemIsLockOwner(PVM pVM) 3137 3137 { 3138 if (!PDMCritSectIsInitialized(&pVM->em.s.CritSectREM)) 3139 return true; /* early init */ 3140 3138 3141 return PDMCritSectIsOwner(&pVM->em.s.CritSectREM); 3139 3142 } … … 3145 3148 * @param pVM The VM to operate on. 3146 3149 */ 3147 VMMDECL(int) EMTryEnterRemLock(PVM pVM) 3148 { 3150 VMMDECL(int) EMRemTryLock(PVM pVM) 3151 { 3152 if (!PDMCritSectIsInitialized(&pVM->em.s.CritSectREM)) 3153 return VINF_SUCCESS; /* early init */ 3154 3149 3155 return PDMCritSectTryEnter(&pVM->em.s.CritSectREM); 3150 3156 }
Note:
See TracChangeset
for help on using the changeset viewer.