2016-12-01 21:06:19 -08:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2018-01-02 09:20:21 -08:00
|
|
|
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
|
2016-12-01 21:06:19 -08:00
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
2018-07-20 00:03:45 -07:00
|
|
|
#include "hal/Threads.h"
|
2016-12-01 21:06:19 -08:00
|
|
|
|
2017-12-10 19:38:53 -08:00
|
|
|
namespace hal {
|
|
|
|
|
namespace init {
|
|
|
|
|
void InitializeThreads() {}
|
|
|
|
|
} // namespace init
|
|
|
|
|
} // namespace hal
|
|
|
|
|
|
2016-12-01 21:06:19 -08:00
|
|
|
int32_t HAL_GetThreadPriority(NativeThreadHandle handle, HAL_Bool* isRealTime,
|
2017-08-18 21:35:53 -07:00
|
|
|
int32_t* status) {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
int32_t HAL_GetCurrentThreadPriority(HAL_Bool* isRealTime, int32_t* status) {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2016-12-01 21:06:19 -08:00
|
|
|
HAL_Bool HAL_SetThreadPriority(NativeThreadHandle handle, HAL_Bool realTime,
|
2017-08-18 21:35:53 -07:00
|
|
|
int32_t priority, int32_t* status) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2016-12-01 21:06:19 -08:00
|
|
|
HAL_Bool HAL_SetCurrentThreadPriority(HAL_Bool realTime, int32_t priority,
|
2017-08-18 21:35:53 -07:00
|
|
|
int32_t* status) {
|
|
|
|
|
return true;
|
2017-01-02 00:43:12 -08:00
|
|
|
}
|