VirtualBox

Changeset 46649 in vbox for trunk/src/libs/xpcom18a4/java


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:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/libs/xpcom18a4

    • Property svn:mergeinfo set to (toggle deleted branches)
      /branches/VBox-3.0/src/libs/xpcom18a458652,​70973
      /branches/VBox-3.2/src/libs/xpcom18a466309,​66318
      /branches/VBox-4.0/src/libs/xpcom18a470873
      /branches/VBox-4.1/src/libs/xpcom18a474233,​78414,​78691,​82579,​85941
      /branches/VBox-4.2/src/libs/xpcom18a482653,​86229-86230,​86234,​86529,​86532-86533
      /branches/andy/guestctrl20/src/libs/xpcom18a478916,​78930
      /branches/dsen/gui/src/libs/xpcom18a479076-79078,​79089,​79109-79110,​79112-79113,​79127-79130,​79134,​79141,​79151,​79155,​79157-79159,​79193,​79197
      /branches/dsen/gui2/src/libs/xpcom18a479224,​79228,​79233,​79235,​79258,​79262-79263,​79273,​79341,​79345,​79354,​79357,​79387-79388,​79559-79569,​79572-79573,​79578,​79581-79582,​79590-79591,​79598-79599,​79602-79603,​79605-79606,​79632,​79635,​79637,​79644
      /branches/dsen/gui3/src/libs/xpcom18a479645-79692
  • trunk/src/libs/xpcom18a4/java/src/nsJavaInterfaces.cpp

    r46593 r46649  
    355355
    356356#ifdef VBOX
    357 #  include <VBox/com/EventQueue.h>
     357#  include <VBox/com/NativeEventQueue.h>
    358358#  include <iprt/err.h>
    359359
     
    361361XPCOM_NATIVE2(waitForEvents) (JNIEnv *env, jobject, jlong aTimeout)
    362362{
    363     com::EventQueue* aEventQ = com::EventQueue::getMainEventQueue();
     363    com::NativeEventQueue* aEventQ = com::NativeEventQueue::getMainEventQueue();
    364364    NS_WARN_IF_FALSE(aEventQ != nsnull, "Null main event queue");
    365365    if (!aEventQ)
  • trunk/src/libs/xpcom18a4/java/src/nsThreadUtils.h

    r29140 r46649  
    5151}
    5252
    53 #include "VBox/com/EventQueue.h"
     53#include "VBox/com/NativeEventQueue.h"
    5454
    5555inline already_AddRefed<nsIEventQueue> do_GetMainThreadQueue()
    5656{
    57   com::EventQueue* eq = com::EventQueue::getMainEventQueue();
     57  com::NativeEventQueue* eq = com::NativeEventQueue::getMainEventQueue();
    5858  NS_ASSERTION(eq != nsnull, "Must be valid");
    5959  return eq->getIEventQueue();
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