The lock type will also be the same between the waiting and blocking threads.