VirtualBox

Changeset 90052 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 6, 2021 10:41:41 AM (4 years ago)
Author:
vboxsync
Message:

Additions: GuestLib: Seamless: decrease wait-for-event timeout value, bugref:10032.

Decreased wait-for-event timeout from 5 to 1 second. When seamless service
is gracefully terminating, for example when user does log-out, it might
hang on VbglR3SeamlessWaitEvent() -> VbglR3WaitEvent() call delaying
service shutdown. This commit is to minimize this time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibSeamless.cpp

    r86870 r90052  
    7171    /** @todo r=andy The (similar / duplicate) Windows code does similar waiting. Merge / fix this. */
    7272    uint32_t fEvent = 0;
    73     int rc = VbglR3WaitEvent(VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST, 5000 /* ms */, &fEvent);
     73    int rc = VbglR3WaitEvent(VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST, 1000 /* ms */, &fEvent);
    7474    if (RT_SUCCESS(rc))
    7575    {
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