Event order when multiple threads are waiting on syncronised on the same object
<p>If I have a common thread pool that queues runnable tasks and the runnable task is the same object everytime.</p>

<p>What happens when it reaches a block of code (within the runnable task) that has a synchronised lock? and say 5 threads are waiting on the same lock? </p>

<p>When it unlocks, is the synchronised block a queue line waiting to be executed and new threads join the queue, or whoever managed to grab the block first?</p>

<p>If there isn't a queue line, assuming I want an ordered execution, what is the best method to do so?</p>
