Changeset 21591 in vbox
- Timestamp:
- Jul 14, 2009 10:08:57 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50090
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp
r21264 r21591 206 206 if (ASMAtomicCmpXchgS32(&pCritSect->s.Core.cLockers, 0, -1)) 207 207 return pdmCritSectEnterFirst(pCritSect, hNativeSelf); 208 /** @todo need pause/nop instruction here! */208 ASMNopPause(); 209 209 /** @todo Should use monitor/mwait on e.g. &cLockers here, possibly with a 210 210 cli'ed pendingpreemption check up front using sti w/ instruction fusing 211 211 for avoiding races. Hmm ... This is assuming the other party is actually 212 executing code on another CPU... */ 212 executing code on another CPU ... which we could keep track of if we 213 wanted. */ 213 214 } 214 215
Note:
See TracChangeset
for help on using the changeset viewer.