Removed dependencies on pthread from frcsim.

Because we want to be able to compile/run wpilibC++Sim on
windows, we would prefer not to require a windows version
of pthread. This commit moves from pthread constructs to
standard library constructs.

Change-Id: I12392a8910189537dd067afdf017e4994d570a66
This commit is contained in:
James Kuszmaul
2015-07-02 14:33:24 -04:00
parent 3f59f3472a
commit 5712565068
17 changed files with 91 additions and 95 deletions

View File

@@ -12,7 +12,6 @@
#include <cstring>
#include <cstdlib>
#include <stdint.h>
#include "HAL/Task.hpp"
#include "DriverStation.h"
#include "Timer.h"
@@ -67,8 +66,6 @@ void Error::Set(Code code, const char* contextMessage, const char* filename,
m_timestamp = GetTime();
Report();
}
if (m_suspendOnErrorEnabled) suspendTask(nullptr);
}
void Error::Report() {