Midnight Sun Firmware
Loading...
Searching...
No Matches
thread_helpers.h
1#pragma once
2
3/************************************************************************************************
4 * @file thread_helpers.h
5 *
6 * @brief Header file defining the thread helper functions
7 *
8 * @date 2025-01-04
9 * @author Aryan Kashem
10 ************************************************************************************************/
11
12/* Standard library Headers */
13
14/* Inter-component Headers */
15
16/* Intra-component Headers */
17
28void thread_sleep_s(unsigned int seconds);
29
34void thread_sleep_ms(unsigned int milliseconds);
35
void thread_sleep_s(unsigned int seconds)
Sleep the current Linux pthread with the specified seconds.
Definition: thread_helpers.cc:18
void thread_sleep_ms(unsigned int milliseconds)
Sleep the current Linux pthread with the specified milliseconds.
Definition: thread_helpers.cc:25