VirtualBox

Changeset 97725 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Dec 1, 2022 1:50:40 PM (2 years ago)
Author:
vboxsync
Message:

DnD/Main: Increased the default timeout of GuestDnDState::waitForGuestResponse() from 500ms -> 3000ms, so in case API clients show an error for the now-improved (see commits before) error reporting don't run into timeout errors when the VM is under heavy load.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestDnDPrivate.h

    r96407 r97725  
    822822
    823823    int notifyAboutGuestResponse(void) const;
    824     int waitForGuestResponse(RTMSINTERVAL msTimeout = 500) const;
     824    int waitForGuestResponse(RTMSINTERVAL msTimeout = 3000) const;
    825825
    826826    void setActionsAllowed(VBOXDNDACTIONLIST a) { m_dndLstActionsAllowed = a; }
  • trunk/src/VBox/Main/src-client/GuestDnDPrivate.cpp

    r97719 r97725  
    711711 *
    712712 * @returns VBox status code.
    713  * @param   msTimeout           Timeout (in ms) for waiting. Optional, waits 500 ms if not specified.
    714  */
    715 int GuestDnDState::waitForGuestResponse(RTMSINTERVAL msTimeout /*= 500 */) const
     713 * @param   msTimeout           Timeout (in ms) for waiting. Optional, waits 3000 ms if not specified.
     714 */
     715int GuestDnDState::waitForGuestResponse(RTMSINTERVAL msTimeout /*= 3000 */) const
    716716{
    717717    int rc = RTSemEventWait(m_EventSem, msTimeout);
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