Your question is too broad. Special Room belongs to the thread or process holding the lock. Waiting Room belongs to the thread or process that is waiting for the Special holding the lock to release the lock. Hallway is a process or thread that does not compete for lock resources.
Your question is too broad.
Special Room belongs to the thread or process holding the lock.
Waiting Room belongs to the thread or process that is waiting for the Special holding the lock to release the lock.
Hallway is a process or thread that does not compete for lock resources.