VirtualBox

Changeset 31598 in vbox for trunk/src/VBox/Main/webservice


Ignore:
Timestamp:
Aug 12, 2010 12:56:15 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64710
Message:

EventQueue: Don't return VERR_TIMEOUT if we processed a message in waitForEventsOnDarwin. return VINF_INTERRUPTED when encountering EINTR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r31597 r31598  
    771771
    772772    com::EventQueue *pQ = com::EventQueue::getMainEventQueue();
    773     while (1)
     773    for (;;)
    774774    {
    775775        // we have to process main event queue
    776776        WEBDEBUG(("Pumping COM event queue\n"));
    777777        int vrc = pQ->processEventQueue(RT_INDEFINITE_WAIT);
    778         if (RT_FAILURE(vrc) && vrc != VERR_TIMEOUT)
     778        if (RT_FAILURE(vrc))
    779779            RTMsgError("processEventQueue -> %Rrc", rc);
    780780    }
Note: See TracChangeset for help on using the changeset viewer.

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