VirtualBox

Ignore:
Timestamp:
May 8, 2008 1:25:41 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30644
Message:

r=bird: the timeout handling is busted since we're using absolute wall clock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/semeventmulti-posix.cpp

    r8245 r8706  
    368368         * Get current time and calc end of wait time.
    369369         */
     370        /** @todo Something is braindead here. we're getting occational timeouts after no time has
     371         * elapsed on linux 2.6.23. (ata code typically)
     372         *
     373         * The general problem here is that we're using the realtime clock, i.e. the wall clock
     374         * that is subject to ntp updates and user alteration, so we will have to compenstate
     375         * for this by using RTTimeMilliTS together with the clock_gettime()/gettimeofday() call.
     376         * Joy, oh joy. */
    370377        struct timespec     ts = {0,0};
    371378#ifdef RT_OS_DARWIN
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette