Use thread priority scheduling