diff --git a/lab4/zad1/src/main.adb b/lab4/zad1/src/main.adb index 1343529..83dee6d 100644 --- a/lab4/zad1/src/main.adb +++ b/lab4/zad1/src/main.adb @@ -40,7 +40,7 @@ procedure Main is Second.Put_Down; First.Put_Down; end loop; - Put_Line ("Philosopher" & Positive'Image (ID) & " is leaving"); + Put_Line ("(!) Philosopher" & Positive'Image (ID) & " is leaving"); end Person; Forks : array (1..5) of aliased Fork; diff --git a/lab4/zad2/main.go b/lab4/zad2/main.go index 9a7eb24..3c1ef81 100644 --- a/lab4/zad2/main.go +++ b/lab4/zad2/main.go @@ -44,7 +44,7 @@ func philosopher(name string, leftFork, rightFork *sync.Mutex) { dining.Done() - fmt.Println(name, "left the table") + fmt.Println("(!)", name, "left the table") } func main() { diff --git a/lab4/zad3/main.jl b/lab4/zad3/main.jl index e19b7f6..d838145 100644 --- a/lab4/zad3/main.jl +++ b/lab4/zad3/main.jl @@ -77,7 +77,7 @@ function philosopher(p, t) end println("$(p.name) is satisfied") - println("$(p.name) left the table") + println("(!) $(p.name) left the table") end function runall(tasklist)