The OS _prio_self macro IN THE ostasksuspend (int8u PRIO) task suspension function is used to indicate whether to suspend itself, in fact, in uCOS-II, OS _prio_self is mainly set to facilitate the function programming of the equivalent type of the suspended task itself. For example, to suspend itself in a task, at this time, at the call level, you do not need to obtain your own priority and other operations. You only need to call ostasksusped (OS _prio_self) to complete your own suspension, which greatly simplifies the programming of the suspension process, it also unifies the interface, whether it is to suspend itself or to suspend other tasks, this interface can be used to achieve,
You only need to transmit different parameters.
In addition, OS _tcb_reserved is (OS _tcb *) 1) used to create a task, this macro is used to occupy this priority, but it has not been initialized yet, therefore, using this macro in this function indicates that the process to be suspended is being created and initialization has not been completed.