kohakulee / corsix-th

Automatically exported from code.google.com/p/corsix-th
0 stars 0 forks source link

Doctor does not enter room if someone is currently knocking the door #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make a room without putting any staff in it
2. When a patient starts to go there a staff member is ordered there too.

What is the expected output? What do you see instead?
If the patient has just got there and is currently knocking the door the
staff member will be unable to enter the room and instead stands outside
indefinitely.

Original issue reported on code.google.com by edvin.li...@gmail.com on 10 Dec 2009 at 8:47

GoogleCodeExporter commented 9 years ago
This is most likely caused by the same bug as issue #54.
As I suspected, it seems that the bug is not limited to a staff leaving for the 
staff
room, but a general problem in the handling of multiple humanoids arriving at a 
door
at the same time.

Original comment by roujin.mw on 10 Dec 2009 at 10:33

GoogleCodeExporter commented 9 years ago
Something similar which may have the same root cause:
1. Place a GP's office, but don't put a staff member in it.
2. Wait for a patient to knock on the door
3. Purchase and place a staff member in the room as the patient knocks

Result:
Patient waits outside room indefinitely.

Original comment by cor...@gmail.com on 10 Dec 2009 at 10:55