Add API to set thread-priority (for ctrl-surfaces)