14 lines
803 B
Plaintext
14 lines
803 B
Plaintext
|
2020/03/11 16:13:30.312550 ewd123.go:33: *** Start
|
||
|
2020/03/11 16:13:30.435731 controller.go:32: entered CS: 2
|
||
|
2020/03/11 16:13:30.435731 controller.go:57: inside CS: 2 (50 msecs)
|
||
|
2020/03/11 16:13:30.486109 controller.go:47: left CS: 2
|
||
|
2020/03/11 16:13:30.486109 controller.go:67: outside CS: 2 (100 msecs)
|
||
|
2020/03/11 16:13:30.586466 controller.go:32: entered CS: 2
|
||
|
2020/03/11 16:13:30.586466 controller.go:57: inside CS: 2 (50 msecs)
|
||
|
2020/03/11 16:13:30.586466 controller.go:29: Process 1 tried to enter the critical section while it was already occupied by: 2
|
||
|
|
||
|
Process finished with exit code 1
|
||
|
|
||
|
|
||
|
Inspiziert ein Prozess die Statusvariable des anderen bevor dieser diese ändert, aber nachdem dieser die des anderen inspiziert,
|
||
|
versuchen beide Prozesse gleichzeitig in die Kritische Sektion zu wechseln.
|