- Timestamp:
- Sep 21, 2009 9:54:42 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 52599
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/initterm.cpp
r23128 r23175 333 333 * counting, so this exercise is entirely for the EventQueue init. */ 334 334 bool fRc; 335 RTTHREAD hSelf = RTThreadSelf (); Assert (hSelf != NIL_RTTHREAD); 336 ASMAtomicCmpXchgHandle (&gCOMMainThread, hSelf, NIL_RTTHREAD, fRc); 335 RTTHREAD hSelf = RTThreadSelf (); 336 if (hSelf != NIL_RTTHREAD) 337 ASMAtomicCmpXchgHandle (&gCOMMainThread, hSelf, NIL_RTTHREAD, fRc); 338 else 339 fRc = false; 337 340 if (!fRc) 338 341 {
Note:
See TracChangeset
for help on using the changeset viewer.