VirtualBox

Ignore:
Timestamp:
May 12, 2008 12:51:19 PM (17 years ago)
Author:
vboxsync
Message:

Windows guest HGCM optimization: use a preallocated timeout variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/NTLegacy.cpp

    r8155 r8781  
    242242        // initialize the event notification semaphore
    243243        KeInitializeEvent(&pDevExt->keventNotification, NotificationEvent, FALSE);
     244
     245        /* Preallocated constant timeout 250ms for HGCM async waiter. */
     246        pDevExt->HGCMWaitTimeout.QuadPart  = 250;
     247        pDevExt->HGCMWaitTimeout.QuadPart *= -10000;     /* relative in 100ns units */
    244248    }
    245249
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