Files
OS/lab1/test_data/1_out.txt
2025-04-22 02:05:21 +08:00

71 lines
2.4 KiB
Plaintext

Teller id 0 started
Teller id 1 started
Teller id 1 is idle at tick 0
Teller id 0 is idle at tick 0
Teller id 2 started
Teller id 2 is idle at tick 0
Teller id 0 is idle at tick 1
Teller id 2 is idle at tick 1
Teller id 1 is idle at tick 1
Customer id 1 arrived at tick 1
Teller id 0 is now serving customer 1 for 10 ticks at tick 2
Teller id 1 is idle at tick 2
Teller id 2 is idle at tick 2
Teller id 0 is serving customer 1 at tick 3
Teller id 1 is idle at tick 3
Teller id 2 is idle at tick 3
Teller id 0 is serving customer 1 at tick 4
Teller id 1 is idle at tick 4
Teller id 2 is idle at tick 4
Teller id 0 is serving customer 1 at tick 5
Customer id 2 arrived at tick 5
Teller id 2 is idle at tick 5
Teller id 1 is idle at tick 5
Teller id 0 is serving customer 1 at tick 6
Teller id 2 is now serving customer 2 for 2 ticks at tick 6
Customer id 3 arrived at tick 6
Teller id 1 is idle at tick 6
Teller id 0 is serving customer 1 at tick 7
Teller id 1 is now serving customer 3 for 3 ticks at tick 7
Teller id 2 is serving customer 2 at tick 7
Teller id 0 is serving customer 1 at tick 8
Teller id 1 is serving customer 3 at tick 8
Teller id 2 is serving customer 2 at tick 8
Teller id 0 is serving customer 1 at tick 9
Teller id 1 is serving customer 3 at tick 9
Teller id 2 finishied serving customer 2 at tick 9
Teller id 2 is idle at tick 9
Teller id 1 is serving customer 3 at tick 10
Teller id 0 is serving customer 1 at tick 10
Teller id 2 is idle at tick 10
Teller id 0 is serving customer 1 at tick 11
Teller id 1 finishied serving customer 3 at tick 11
Teller id 2 is idle at tick 11
Teller id 1 is idle at tick 11
Teller id 1 is idle at tick 12
Teller id 2 is idle at tick 12
Teller id 0 is serving customer 1 at tick 12
Teller id 0 finishied serving customer 1 at tick 13
Teller id 0 is idle at tick 13
Teller id 2 is idle at tick 13
Teller id 1 is idle at tick 13
Teller id 0 is idle at tick 14
Teller id 1 is idle at tick 14
Teller id 2 is idle at tick 14
Teller id 0 is idle at tick 15
Teller id 2 is idle at tick 15
Teller id 1 is idle at tick 15
Teller id 0 is idle at tick 16
Teller id 1 is idle at tick 16
Teller id 2 is idle at tick 16
Teller id 2 is idle at tick 17
Teller id 0 is idle at tick 17
Teller id 1 is idle at tick 17
Teller id 0 is idle at tick 18
Teller id 1 is idle at tick 18
Teller id 2 is idle at tick 18
^C
Caught SIGINT, shutting down...
Teller id 0 closing
Teller id 1 closing
Teller id 2 closing