cleanup
This commit is contained in:
@@ -227,8 +227,8 @@ bool EventImpl_Pthreads::Wait( RageTimer *pTimeout )
|
||||
}
|
||||
|
||||
timespec abstime;
|
||||
abstime.tv_sec = pTimeout->m_secs + ArchHooks_Unix::iStartTime/1000000;
|
||||
abstime.tv_nsec = (pTimeout->m_us + ArchHooks_Unix::iStartTime%1000000) * 1000;
|
||||
abstime.tv_sec = pTimeout->m_secs + ArchHooks_Unix::m_iStartTime/1000000;
|
||||
abstime.tv_nsec = (pTimeout->m_us + ArchHooks_Unix::m_iStartTime%1000000) * 1000;
|
||||
int iRet = pthread_cond_timedwait( &m_Cond, &m_pParent->mutex, &abstime );
|
||||
return iRet != ETIMEDOUT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user