| 113 | } |
| 114 | |
| 115 | void WaitObjectContainer::ScheduleEvent(double milliseconds, CallStack const& callStack) |
| 116 | { |
| 117 | if (milliseconds <= 3) |
| 118 | DetectNoWait(LastResultType(LASTRESULT_SCHEDULED), CallStack("WaitObjectContainer::ScheduleEvent()", &callStack)); |
| 119 | double thisEventTime = m_eventTimer.ElapsedTimeAsDouble() + milliseconds; |
| 120 | if (!m_firstEventTime || thisEventTime < m_firstEventTime) |
| 121 | m_firstEventTime = thisEventTime; |
| 122 | } |
| 123 | |
| 124 | #ifdef USE_WINDOWS_STYLE_SOCKETS |
| 125 |
no test coverage detected