Description:
This function changes the priority of the calling task. Note: The uC/OS can only have one task at each priority level. Task priorities can range from 1 to 63, where 63 is the lowest priority level and 1 is highest priority level. Priorities 1-4 and the NetBurner system priority levels are reserved as described below. The recommended user priority levels for your application are in the range of 46 to 62. This avoids any conflicts with network communications.
Yet when i opened constants.h i find this list in there.
My question is can 2 tasks have the same priority, and if so how does that play out. The reason why i ask is that the .pdf file says "recommended user priority levels for your application are in the range of 46 to 62" yet "#define SSH_TASK_PRIORITY " is set to 56./* Recommend UserMain priority */
#define MAIN_PRIO (50)
/* Runtime library driver and support task priorities */
#define HTTP_PRIO (45)
#define PPP_PRIO (44)
#define SECURITY_TASK_PRIO (43)
#define WIFI_STATION_TASK_PRIO (42)
#define WIFI_TASK_PRIO (41)
#define ENC_TASK_PRIORITY (41)
#define TCP_PRIO (40)
#define IP_PRIO (39)
#define ETHER_SEND_PRIO (38)
/* Features */
/* SSH server must be lower than main for progress displays */
#define SSH_TASK_PRIORITY (56)