Changeset 26509 in vbox for trunk/src/VBox/Frontends/VBoxSDL
- Timestamp:
- Feb 14, 2010 9:35:03 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57680
- Location:
- trunk/src/VBox/Frontends/VBoxSDL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r23170 r26509 597 597 /// @todo 598 598 599 600 599 NOREF(aCount); 600 NOREF(aCountCopied); 601 601 602 602 return S_OK; … … 612 612 /// @todo 613 613 614 614 NOREF(aCount); 615 615 616 616 return S_OK; -
trunk/src/VBox/Frontends/VBoxSDL/Helper.cpp
r13835 r26509 76 76 if ((n > 0) && !g_fTerminateXPCOMQueueThread) 77 77 { 78 79 78 /* 79 * Wait until all XPCOM events are processed. 1s just for sanity. 80 80 */ 81 82 83 84 85 86 87 81 int iWait = 1000; 82 /* 83 * Don't post an event if there is a pending XPCOM event to prevent an 84 * overflow of the SDL event queue. 85 */ 86 if (g_s32XPCOMEventsPending < 1) 87 { 88 88 /* 89 90 91 92 89 * Post the event and wait for it to be processed. If we don't wait, 90 * we'll flood the queue on SMP systems and when the main thread is busy. 91 * In the event of a push error, we'll yield the timeslice and retry. 92 */ 93 93 SDL_Event event = {0}; 94 94 event.type = SDL_USEREVENT;
Note:
See TracChangeset
for help on using the changeset viewer.