mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-10 08:03:13 +00:00
MxSemphore + MxThread + MxThread implementions (#80)
* Add MxSemphore + MxThread and the two implementations I could find of MxThread (consumers extend it and override the Run method). * Implement a function in MxDiskStreamProvider which uses thread and semaphore to confirm correct layout / size of those classes. * All 100% match except two functions with a pair of registers swapped.
This commit is contained in:
@@ -18,7 +18,7 @@ public:
|
||||
inline MxLong GetTime()
|
||||
{
|
||||
if (this->m_isRunning)
|
||||
return s_LastTimeCalculated;
|
||||
return s_LastTimeTimerStarted;
|
||||
else
|
||||
return s_LastTimeCalculated - this->m_startTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user