I have a project using multiple threads and semaphores.
There are 4 threads using the same function as an entry point (Hunters), 1 with its own entry function (Ghost).

I am running into a problem with the Hunter Threads where it seems like there is a deadlock. I have tried debugging this and I believe the issue is coming from the hunters moving rooms, Potentially the fact that all hunters begin in the same room.

All Hunters begin in the same room, and can edit any aspect of a room one at a time.

Source Code Can Be Found On GitHub Here: GitHub - GrewalCreator/GhostHunters: Clean-up of a school assignment to improve the program