mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This fixes simulation WaitForProgramStart(true) potentially advancing due to a stale or pre-start notifier created before SetProgramStarted() was called.
17 lines
439 B
C++
17 lines
439 B
C++
// Copyright (c) FIRST and other WPILib contributors.
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace wpi::hal {
|
|
void PauseNotifiers();
|
|
void ResumeNotifiers();
|
|
void WakeupNotifiers();
|
|
void WaitNotifiers();
|
|
void WakeupWaitNotifiers();
|
|
uint64_t GetNotifierAlarmSetCount();
|
|
} // namespace wpi::hal
|