VirtualBox

Changeset 8776 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 12, 2008 9:54:31 AM (17 years ago)
Author:
vboxsync
Message:

HGCM wait for a request completion must be not alertable (Windows guest).

File:
1 edited

Legend:

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

    r8155 r8776  
    361361    while ((pHeader->fu32Flags & VBOX_HGCM_REQ_DONE) == 0)
    362362    {
    363         /* Specifying UserMode so killing the user process will abort the wait. */
     363        /* Specifying UserMode so killing the user process will abort the wait.
     364         * @todo Since VbglGRCancel is not yet implemented, the wait itself must
     365         *       be not interruptible. The wait can be interrupted only when the
     366         *       calling process is being killed.
     367         *       When alertable is TRUE, the wait sometimes ends with STATUS_USER_APC.
     368         */
    364369        NTSTATUS rc = KeWaitForSingleObject (&pDevExt->keventNotification, Executive,
    365                                              UserMode, TRUE, pTimeout
     370                                             UserMode,
     371                                             FALSE, /* Not Alertable */
     372                                             pTimeout
    366373                                            );
    367374        dprintf(("VBoxHGCMCallback: Wait returned %d fu32Flags=%x\n", rc, pHeader->fu32Flags));
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