I generate a normal process and check with cmd:
ps -p [PID] -o uname, cmd, cls, pri, rtprio
and have result
USER CMD CLS PRI RTPRIO
haivo ./pro1 TS 17 -
as far as I know Linux just know priority from 0 - 139 and priority from 0-99 for realtime process, but RTPRIO
not show "rt" which means that my process just a normal process, another way pri = 17 belongs realtime priority range while my process just normal process. There seems to be a conflict.