mdot_rtos
Fork of mbed-rtos by
Diff: rtos/Thread.h
- Revision:
- 121:4dc938e301cc
- Parent:
- 120:19af2d39a542
--- a/rtos/Thread.h Wed Aug 10 16:09:20 2016 +0100
+++ b/rtos/Thread.h Thu Aug 18 14:38:56 2016 +0100
@@ -58,7 +58,7 @@
The explicit Thread::start member function should be used to spawn
a thread.
*/
- MBED_DEPRECATED(
+ MBED_DEPRECATED_SINCE("mbed-os-5.1",
"Thread-spawning constructors hide errors and may lead to complex "
"program state when a thread is declared")
Thread(mbed::Callback<void()> task,
@@ -83,7 +83,7 @@
a thread.
*/
template <typename T>
- MBED_DEPRECATED(
+ MBED_DEPRECATED_SINCE("mbed-os-5.1",
"Thread-spawning constructors hide errors and may lead to complex "
"program state when a thread is declared")
Thread(T *obj, void (T::*method)(),
@@ -109,7 +109,7 @@
a thread.
*/
template <typename T>
- MBED_DEPRECATED(
+ MBED_DEPRECATED_SINCE("mbed-os-5.1",
"Thread-spawning constructors hide errors and may lead to complex "
"program state when a thread is declared")
Thread(T *obj, void (*method)(T *),
@@ -134,7 +134,7 @@
The explicit Thread::start member function should be used to spawn
a thread.
*/
- MBED_DEPRECATED(
+ MBED_DEPRECATED_SINCE("mbed-os-5.1",
"Thread-spawning constructors hide errors and may lead to complex "
"program state when a thread is declared")
Thread(void (*task)(void const *argument), void *argument=NULL,
