mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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
12 lines
263 B
C++
12 lines
263 B
C++
#pragma once
|
|
|
|
#include <condition_variable>
|
|
#include <mutex>
|
|
|
|
namespace wpilib { namespace internal {
|
|
extern double simTime;
|
|
extern ::std::condition_variable time_wait;
|
|
extern ::std::mutex time_wait_mutex;
|
|
// transport::SubscriberPtr time_sub;
|
|
}}
|