Why it is a good programming style to delete the first task in RTX? (I have read it in the documentation.) I would like to use this task for control that other tasks are executed well. What is a problem to do so?
It is in the printing manual. wenku.baidu.com/.../60b68d3a580216fc700afd3d.html Page 22.
Sounds more like bad editing. If the author really thinks it meaningful to kill the first task, then the author should have given the reasons too. You don't teach a child what to do/don't do without giving some reasons why.
main() should minimize the need for stack space since you wan't the majority of work to happen in tasks.
But your first task should not really be too different from other tasks that any "style" should dictate that you need to kill it.
"You don't teach a child what to do/don't do without giving some reasons why."
I always got the same answer when I asked my parents "Why?":
"Because I said so."
I hope you tried to improve for the next generation.