VirtualBox

Changeset 8706

Show
Ignore:
Timestamp:
05/08/08 15:25:41 (2 months ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy