Revision f3ac1c96 core/inc/aos_thread.h
core/inc/aos_thread.h | ||
---|---|---|
29 | 29 |
|
30 | 30 |
#include <aos_time.h> |
31 | 31 |
#include <aos_system.h> |
32 |
/******************************************************************************/ |
|
33 |
/* CONSTANTS */ |
|
34 |
/******************************************************************************/ |
|
32 | 35 |
|
33 | 36 |
/** |
34 | 37 |
* @brief Minimum thread priority. |
... | ... | |
95 | 98 |
*/ |
96 | 99 |
#define AOS_THD_MAX_SLEEP_US (chTimeI2US(AOS_THD_MAX_SLEEP_ST) - 1) |
97 | 100 |
|
101 |
/******************************************************************************/ |
|
102 |
/* SETTINGS */ |
|
103 |
/******************************************************************************/ |
|
104 |
|
|
105 |
/******************************************************************************/ |
|
106 |
/* CHECKS */ |
|
107 |
/******************************************************************************/ |
|
108 |
|
|
109 |
/******************************************************************************/ |
|
110 |
/* DATA STRUCTURES AND TYPES */ |
|
111 |
/******************************************************************************/ |
|
112 |
|
|
113 |
/******************************************************************************/ |
|
114 |
/* MACROS */ |
|
115 |
/******************************************************************************/ |
|
116 |
|
|
117 |
/******************************************************************************/ |
|
118 |
/* EXTERN DECLARATIONS */ |
|
119 |
/******************************************************************************/ |
|
120 |
|
|
98 | 121 |
#ifdef __cplusplus |
99 | 122 |
extern "C" { |
100 | 123 |
#endif |
... | ... | |
106 | 129 |
} |
107 | 130 |
#endif |
108 | 131 |
|
132 |
/******************************************************************************/ |
|
133 |
/* INLINE FUNCTIONS */ |
|
134 |
/******************************************************************************/ |
|
135 |
|
|
109 | 136 |
/** |
110 | 137 |
* @brief Lets the calling thread sleep the specified amount of microseconds. |
111 | 138 |
* |
Also available in: Unified diff