WPILibC++ 2024.3.2
Main.h File Reference
#include "hal/Types.h"

Go to the source code of this file.

Functions

void HAL_SetMain (void *param, void(*mainFunc)(void *), void(*exitFunc)(void *))
 Sets up the system to run the provided main loop in the main thread (e.g. More...
 
HAL_Bool HAL_HasMain (void)
 Returns true if HAL_SetMain() has been called. More...
 
void HAL_RunMain (void)
 Runs the main function provided to HAL_SetMain(). More...
 
void HAL_ExitMain (void)
 Causes HAL_RunMain() to exit. More...