Delays a task for a given number of milliseconds.
Gets the number of microseconds since PROS initialized,
Gets the number of milliseconds since PROS initialized.
Creates a mutex.
Deletes a mutex
Deletes a mutex
Takes and locks a mutex, waiting for up to a certain number of milliseconds
before timing out.
Creates a new task and add it to the list of tasks that are ready to run.
Delays a task for a given number of milliseconds.
Delays a task until a specified time. This function can be used by periodic
tasks to ensure a constant execution frequency.
Removes a task from the RTOS real time kernel’s management. The task being
deleted will be removed from all ready, blocked, suspended and event lists.
Gets a task handle from the specified name
Gets the number of tasks the kernel is currently managing, including all
ready, blocked, or suspended tasks. A task that has been deleted, but not yet
reaped by the idle task will also be included in the count. Tasks recently
created may take one context switch to be counted.
Get the currently running task handle. This could be useful if a task
wants to tell another task about itself.
Gets the name of the specified task.
Gets the priority of the specified task.
Gets the state of the specified task.
Utilizes task notifications to wait until specified task is complete and deleted,
then continues to execute the program. Analogous to std::thread::join in C++.
Sends a simple notification to task and increments the notification counter.
Clears the notification for a task.
Sends a notification to a task, optionally performing some action. Will also
retrieve the value of the notification in the target task before modifying
the notification value.
Waits for a notification to be nonzero.
Resumes the specified task, making it eligible to be scheduled.
Sets the priority of the specified task.
Suspends the specified task, making it ineligible to be scheduled.