pros/rtos.hpp file

Contains declarations for the PROS RTOS kernel for use by typical VEX programmers.

Contents

This file should not be modified by users, since it gets replaced whenever a kernel upgrade occurs.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Namespaces

namespace pros
LLEMU Conditional Include.
namespace pros::rtos inline

Classes

class pros::Task
class pros::rtos::Mutex
class pros::rtos::RecursiveMutex
template<typename Var>
class pros::rtos::MutexVarLock
template<typename Var>
class pros::rtos::MutexVar

Functions

uint32_t millis(void)
Gets the number of milliseconds since PROS initialized.
uint64_t micros(void)
Gets the number of microseconds since PROS initialized.
void delay(const uint32_t milliseconds)
Delays a task for a given number of milliseconds.