Can you give me an example for MQX_TIME_SLICE_TASK?
My hardware:Freescale_MQX_4_1_TWRK64F120M.
Hi Robin,
Please use the attached example. In order to use time slice you need to enabled
#define MQX_HAS_TIME_SLICE 1
in the user_config.h.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you very much.
What is the meaning of The MQX_TIME_SLICE_TASK?
{THIRD_TASK, third_task, 1500,
9, "third", MQX_AUTO_START_TASK|MQX_TIME_SLICE_TASK,
0, 10},
Does it mean that the task " THIRD_TASK" will
be scheduled per 10ms?
If I want my task scheduled per 10ms, how should I do?
Hi,
Yes, the task will be scheduled per 10ms.
Have a nice day!!
Regards
Soledad
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------