VirtualBox

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


Ignore:
Timestamp:
Feb 4, 2008 10:51:02 AM (17 years ago)
Author:
vboxsync
Message:

Additions/common and Additions/Linux: and indefinite timeout is RT_INDEFINITE_WAIT and not 0

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

Legend:

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

    r6497 r6780  
    6969
    7070    AssertPtrReturn(pMode, VERR_INVALID_PARAMETER);
    71     waitEvent.u32TimeoutIn = 0;
     71    waitEvent.u32TimeoutIn = RT_INDEFINITE_WAIT;
    7272    waitEvent.u32EventMaskIn = VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST;
    7373    rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_WAITEVENT, &waitEvent, sizeof(waitEvent));
  • trunk/src/VBox/Additions/linux/module/vboxmod.c

    r6463 r6780  
    204204
    205205    info->u32Result = VBOXGUEST_WAITEVENT_OK;
    206     if (0 != info->u32TimeoutIn) {
     206    if (RT_INDEFINITE_WAIT != info->u32TimeoutIn) {
    207207            timeleft = wait_event_interruptible_timeout
    208208                           (vboxDev->eventq,
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