mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Moves the HAL priority_ custom types to the hal namespace (#532)
There is a shim for backwards compatibility, just like the frc namespace. As with the frc namespace, the library compiles without the shim.
This commit is contained in:
committed by
Peter Johnson
parent
16e71eac43
commit
efec0c5cc3
@@ -39,8 +39,8 @@ class Notifier : public ErrorBase {
|
||||
|
||||
private:
|
||||
static std::list<Notifier*> timerQueue;
|
||||
static priority_recursive_mutex queueMutex;
|
||||
static priority_mutex halMutex;
|
||||
static hal::priority_recursive_mutex queueMutex;
|
||||
static hal::priority_mutex halMutex;
|
||||
static void* m_notifier;
|
||||
static std::atomic<int> refcount;
|
||||
|
||||
@@ -67,7 +67,7 @@ class Notifier : public ErrorBase {
|
||||
// Indicates if this entry is queued
|
||||
bool m_queued = false;
|
||||
// Held by interrupt manager task while handler call is in progress
|
||||
priority_mutex m_handlerMutex;
|
||||
hal::priority_mutex m_handlerMutex;
|
||||
static std::thread m_task;
|
||||
static std::atomic<bool> m_stopped;
|
||||
static void Run();
|
||||
|
||||
Reference in New Issue
Block a user