Core timing: use only one thread.
This commit is contained in:
parent
3f3c2dc20f
commit
d3cb9201f1
2 changed files with 2 additions and 12 deletions
|
@ -32,7 +32,6 @@ struct EventType {
|
|||
TimedCallback callback;
|
||||
/// A pointer to the name of the event.
|
||||
const std::string name;
|
||||
mutable std::mutex guard;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -157,7 +156,6 @@ private:
|
|||
std::condition_variable wait_pause_cv;
|
||||
std::condition_variable wait_signal_cv;
|
||||
mutable std::mutex event_mutex;
|
||||
mutable std::mutex sequence_mutex;
|
||||
|
||||
std::atomic<bool> paused_state{};
|
||||
bool is_paused{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue