mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user