1, what handling should be done when a thread is unlocked from sem_wait(&women or man_queue). I recond the man should go into restroon and the related counters should be changed.
2, what handling should be done when a man or women goes into the restroom? I recon the sem_post should be sent to wating queue to tell other bodies coming in.
3, when a men or women exiting, in man_leave or women_leave, the handling like #63 and #64 could be better done by women or men themselves.
4, why sem_wait(bath_door) even when they leave.