VirtualBox

Changeset 33609 in vbox


Ignore:
Timestamp:
Oct 29, 2010 2:39:38 PM (14 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/linux: fix absolute timeouts with Linux jiffies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h

    r33540 r33609  
    151151#endif
    152152        {
    153             uint64_t cJiffies = ASMMultU64ByU32DivByU32(uTimeout, HZ, UINT32_C(1000000000));
     153            uint64_t cJiffies = ASMMultU64ByU32DivByU32(pWait->cNsRelTimeout, HZ, UINT32_C(1000000000));
    154154            if (cJiffies >= MAX_JIFFY_OFFSET)
    155155                fFlags |= RTSEMWAIT_FLAGS_INDEFINITE;
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