WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
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.
 
HAL_Bool HAL_HasMain (void)
 Returns true if HAL_SetMain() has been called.
 
void HAL_RunMain (void)
 Runs the main function provided to HAL_SetMain().
 
void HAL_ExitMain (void)
 Causes HAL_RunMain() to exit.