You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wait is <= 0x7fffffff milliseconds (~24 days). If the limit is exceeded,
120
134
the wait will time out earlier than specified.
121
135
@see Thread::flags_set
136
+
@deprecated Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s`
137
+
rather than `Kernel::get_ms_count() + 5000`.
122
138
*/
139
+
MBED_DEPRECATED_SINCE("mbed-os-6.0.0", "Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`.")
wait is <= 0x7fffffff milliseconds (~24 days). If the limit is exceeded,
144
187
the wait will time out earlier than specified.
145
188
@see Thread::flags_set
189
+
@deprecated Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s`
190
+
rather than `Kernel::get_ms_count() + 5000`.
146
191
*/
192
+
MBED_DEPRECATED_SINCE("mbed-os-6.0.0", "Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`.")
The specified time is according to Kernel::get_ms_count().
158
228
@param millisec absolute time in millisec
159
229
@note You cannot call this function from ISR context.
160
230
@note if millisec is equal to or lower than the current tick count, this
161
231
returns immediately.
162
232
@note The equivalent functionality is accessible in C via thread_sleep_until.
233
+
@deprecated Pass a chrono time_point, not an integer millisecond count. For example use
234
+
`Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`.
163
235
*/
236
+
MBED_DEPRECATED_SINCE("mbed-os-6.0.0", "Pass a chrono time_point, not an integer millisecond count. For example use `Kernel::Clock::now() + 5s` rather than `Kernel::get_ms_count() + 5000`.")
164
237
voidsleep_until(uint64_t millisec);
165
238
239
+
/** Sleep until a specified time in millisec
240
+
The specified time is according to Kernel::Clock.
241
+
@param abs_time absolute time
242
+
@note You cannot call this function from ISR context.
243
+
@note if abs_time is equal to or lower than Kernel::Clock::now(), this
244
+
returns immediately.
245
+
@note The equivalent functionality is accessible in C via thread_sleep_until.
0 commit comments