The order is undefined. Having a higher priority does not guarantee a first renewal. A higher priority means that the thread receives more processor time during operation, but an implementation is not required to block it.
, , , A-B-C. Java. , , , , , . , , , , FIFO.