VirtualBox

Changeset 20913 in vbox for trunk


Ignore:
Timestamp:
Jun 25, 2009 1:08:32 AM (16 years ago)
Author:
vboxsync
Message:

semevent*-r0drv-nt.cpp: Removed left over WaitReason bits.

Location:
trunk/src/VBox/Runtime/r0drv/nt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/semevent-r0drv-nt.cpp

    r20912 r20913  
    143143    NTSTATUS        rcNt;
    144144    KPROCESSOR_MODE WaitMode   = fInterruptible ? UserMode : KernelMode;
    145     KWAIT_REASON    WaitReason = Executive; /*fInterruptible ? Executive : UserRequest; ?*/
    146145    if (cMillies == RT_INDEFINITE_WAIT)
    147         rcNt = KeWaitForSingleObject(&pEventInt->Event, WaitReason, WaitMode, fInterruptible, NULL);
     146        rcNt = KeWaitForSingleObject(&pEventInt->Event, Executive, WaitMode, fInterruptible, NULL);
    148147    else
    149148    {
    150149        LARGE_INTEGER Timeout;
    151150        Timeout.QuadPart = -(int64_t)cMillies * 10000;
    152         rcNt = KeWaitForSingleObject(&pEventInt->Event, WaitReason, WaitMode, fInterruptible, &Timeout);
     151        rcNt = KeWaitForSingleObject(&pEventInt->Event, Executive, WaitMode, fInterruptible, &Timeout);
    153152    }
    154153#else
  • trunk/src/VBox/Runtime/r0drv/nt/semeventmulti-r0drv-nt.cpp

    r20912 r20913  
    150150    NTSTATUS        rcNt;
    151151    KPROCESSOR_MODE WaitMode   = fInterruptible ? UserMode : KernelMode;
    152     KWAIT_REASON    WaitReason = Executive; /*fInterruptible ? Executive : UserRequest; ?*/
    153152    if (cMillies == RT_INDEFINITE_WAIT)
    154         rcNt = KeWaitForSingleObject(&pThis->Event, WaitReason, WaitMode, fInterruptible, NULL);
     153        rcNt = KeWaitForSingleObject(&pThis->Event, Executive, WaitMode, fInterruptible, NULL);
    155154    else
    156155    {
    157156        LARGE_INTEGER Timeout;
    158157        Timeout.QuadPart = -(int64_t)cMillies * 10000;
    159         rcNt = KeWaitForSingleObject(&pThis->Event, WaitReason, WaitMode, fInterruptible, &Timeout);
     158        rcNt = KeWaitForSingleObject(&pThis->Event, Executive, WaitMode, fInterruptible, &Timeout);
    160159    }
    161160#else
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