Demonstrate thread priorities

http://ideone.com/u1fQSx