< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
Dear all,i found the declaration of mNextPoll:mNextPoll(Timer::getTimeMs() + mInterval)
it measn that the value of (Timer::GetTimeMS() >=mNextPoll)is always false in win32.
Then so if ( Timer::GetTimeMs < mNextPoll),what will be happend?Thank for your explain.Julien
On 5/16/05, julien thai <julienresiprocate@xxxxxxxxx > wrote:Dear All,Someone can help me to find out the value of mNextPoll.Cos i didn't find where you declare the value of mNextPoll.But i see the value of mNextPoll is 12760723077441.And in the case,if (Timer:getTimeMS()>=mNextPoll) is truecan you explain to me the role of poll().Thank you so muchJulienStatisticsManager::process(){
if (Timer::getTimeMs() >= mNextPoll){poll();mNextPoll += mInterval;}}