In reply to VarshaAnand2402:
yes, that’s because it had only one thread waiting for value 5.will think through it.