blob: 2aa2c4bf906722d81c37f9dd6a77e0481fb30fde [file] [log] [blame]
Brian Silverman41cdd3e2019-01-19 19:48:58 -08001/*----------------------------------------------------------------------------*/
2/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
6/*----------------------------------------------------------------------------*/
7
8#include "hal/Threads.h"
9
10namespace hal {
11namespace init {
12void InitializeThreads() {}
13} // namespace init
14} // namespace hal
15
16int32_t HAL_GetThreadPriority(NativeThreadHandle handle, HAL_Bool* isRealTime,
17 int32_t* status) {
18 return 0;
19}
20int32_t HAL_GetCurrentThreadPriority(HAL_Bool* isRealTime, int32_t* status) {
21 return 0;
22}
23HAL_Bool HAL_SetThreadPriority(NativeThreadHandle handle, HAL_Bool realTime,
24 int32_t priority, int32_t* status) {
25 return true;
26}
27HAL_Bool HAL_SetCurrentThreadPriority(HAL_Bool realTime, int32_t priority,
28 int32_t* status) {
29 return true;
30}