VirtualBox

Changeset 50040 in vbox


Ignore:
Timestamp:
Jan 9, 2014 3:27:51 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91519
Message:

VBoxTray/IPC: Whops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxIPC.cpp

    r50039 r50040  
    294294            fListIsEmpty = RTListIsEmpty(&pCtx->SessionList);
    295295            rc2 = RTCritSectLeave(&pCtx->CritSect);
     296
     297            if (!fListIsEmpty) /* Don't hog CPU while waiting. */
     298                RTThreadSleep(100);
    296299        }
    297300
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette