Add API to query backend realtime thread priority