Priority

#define configMAX_PRIORITIES        ( ( unsigned portBASE_TYPE ) 10 ) High priority is 1 or  10? in vxworks, 1 is highest priority. in FREERTOS how it is?

Priority

Higher the number, higher is the priority. Hence 0 is the lowest priority. In your case 9 is highest priority.