mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Prepends all HAL functions with HAL_ (#146)
This commit is contained in:
committed by
Peter Johnson
parent
5ad28d58ec
commit
b637b9ee4c
@@ -15,14 +15,14 @@ typedef priority_condition_variable* MULTIWAIT_ID;
|
||||
typedef priority_condition_variable::native_handle_type NATIVE_MULTIWAIT_ID;
|
||||
|
||||
extern "C" {
|
||||
MUTEX_ID initializeMutexNormal();
|
||||
void deleteMutex(MUTEX_ID sem);
|
||||
void takeMutex(MUTEX_ID sem);
|
||||
bool tryTakeMutex(MUTEX_ID sem);
|
||||
void giveMutex(MUTEX_ID sem);
|
||||
MUTEX_ID HAL_InitializeMutexNormal();
|
||||
void HAL_DeleteMutex(MUTEX_ID sem);
|
||||
void HAL_TakeMutex(MUTEX_ID sem);
|
||||
bool HAL_TryTakeMutex(MUTEX_ID sem);
|
||||
void HAL_GiveMutex(MUTEX_ID sem);
|
||||
|
||||
MULTIWAIT_ID initializeMultiWait();
|
||||
void deleteMultiWait(MULTIWAIT_ID sem);
|
||||
void takeMultiWait(MULTIWAIT_ID sem, MUTEX_ID m);
|
||||
void giveMultiWait(MULTIWAIT_ID sem);
|
||||
MULTIWAIT_ID HAL_InitializeMultiWait();
|
||||
void HAL_DeleteMultiWait(MULTIWAIT_ID sem);
|
||||
void HAL_TakeMultiWait(MULTIWAIT_ID sem, MUTEX_ID m);
|
||||
void HAL_GiveMultiWait(MULTIWAIT_ID sem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user