VirtualBox

Ignore:
Timestamp:
Jun 19, 2013 11:47:32 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86538
Message:

Forward ported r85941 and required build fixes (Main: Implemented new event queue to separate system's native event queue and our own. Also, XPCOM is not needed for handling our own events. On Windows this also fixes the system's queue quota limitation).

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox

  • trunk/src/VBox/Frontends

  • trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-posix.cpp

    r43967 r46649  
    55
    66/*
    7  * Copyright (C) 2012 Oracle Corporation
     7 * Copyright (C) 2012-2013 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2727#include <VBox/com/errorprint.h>
    2828
    29 #include <VBox/com/EventQueue.h>
     29#include <VBox/com/NativeEventQueue.h>
    3030#include <VBox/com/listeners.h>
    3131#include <VBox/com/VirtualBox.h>
     
    136136    Bstr bstrOperationDescription;
    137137
    138     EventQueue::getMainEventQueue()->processEventQueue(0);
     138    NativeEventQueue::getMainEventQueue()->processEventQueue(0);
    139139
    140140    ULONG cOperations = 1;
     
    205205        progress->WaitForCompletion(100);
    206206
    207         EventQueue::getMainEventQueue()->processEventQueue(0);
     207        NativeEventQueue::getMainEventQueue()->processEventQueue(0);
    208208        hrc = progress->COMGETTER(Completed(&fCompleted));
    209209    }
     
    560560
    561561    autostartConfigAstDestroy(pCfgAst);
    562     EventQueue::getMainEventQueue()->processEventQueue(0);
     562    NativeEventQueue::getMainEventQueue()->processEventQueue(0);
    563563
    564564    autostartShutdown();
  • trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-win.cpp

    r44528 r46649  
    55
    66/*
    7  * Copyright (C) 2012 Oracle Corporation
     7 * Copyright (C) 2012-2013 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2828#include <VBox/com/errorprint.h>
    2929
    30 #include <VBox/com/EventQueue.h>
     30#include <VBox/com/NativeEventQueue.h>
    3131#include <VBox/com/listeners.h>
    3232#include <VBox/com/VirtualBox.h>
     
    9393    Bstr bstrOperationDescription;
    9494
    95     EventQueue::getMainEventQueue()->processEventQueue(0);
     95    NativeEventQueue::getMainEventQueue()->processEventQueue(0);
    9696
    9797    ULONG cOperations = 1;
     
    126126        progress->WaitForCompletion(100);
    127127
    128         EventQueue::getMainEventQueue()->processEventQueue(0);
     128        NativeEventQueue::getMainEventQueue()->processEventQueue(0);
    129129        hrc = progress->COMGETTER(Completed(&fCompleted));
    130130    }
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