We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, experts.
I'm recently working on CMSIS-RTOS API with MDK-ARM V5.1, on STM32F103 MCU.
I'd like to know how to wait for multiple threads.(and mode)
and
I'd like to know how to wait for any one of thread.(or mode)
I've find the example of waiting for one thread.
refer to:
http://www.keil.com/pack/doc/cmsis/RTOS/html/group___c_m_s_i_s___r_t_o_s___signal_mgmt.html#ga38860acda96df47da6923348d96fc4c9
But, I can't find the example of waiting for multiple threads.
I'm appreciated for your prompt response.
Sincerely yours
Nagaoka
Hello Mr.Christopher
Thank you for your prompt response.
I've overlooked following description at CMSIS-RTOS RTX: Signal Management.
parameters
[in] signals: wait until all specified signal flags set or 0 for any signal flag.
in other wards
0: thread become wait_or state.
except for 0: thread become wait_and state.
Sincerely yours,