Hello.
I'me starting to make some tests so that I can
test the server and the reservation mechanism. I have the lock manager as follows:
As i've used a factory, i get a diferent client number, so here i don't have any problem
The main problem for now is that i've build a small test program that makes seat reservation in one flight. The program is as follows:
And the code to make the seat reservation:
The big problem is when i run the test program with this 5 clients, it only reserves 2 seats
After the lock and unlock method in the server i've put a print to show the result, and the problem cames here. The output in the server is as follows:
I'm

with all this. Where is the problem?
Thanks for your help.
Miguel