Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years ago.
thread creation in mbed-0s-5.1
calling function thread.start() what is the format? This includes the function prototype and parameter. The multiple threads do run but there is an annoyance to the warning. type-cast issue or what ever to get rid of the warning. A true example would be nice
Warning: Function "rtos::Thread::start(T *, M) [with T=void (const void *), M=void *]" (declared at <a href="#" onmousedown="mbed_doc_goto('/mbed-os-example-blinkyextras/mbed-os.lib/rtos/Thread.h', '214'); return false;">/extras/mbed-os.lib/rtos/Thread.h:214</a>) was declared deprecated ("The start function does not support cv-qualifiers. Replaced by thread.start(callback(obj, method)). [since mbed-os-5.1]")