Add thread priority example