From 60bfc4733774fe2c81a833caf9f48ec2d69ead97 Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Tue, 26 Apr 2022 17:08:03 +0530 Subject: [PATCH] fix bullet points --- Concurrency.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Concurrency.md b/Concurrency.md index fbbfa66..7af0242 100644 --- a/Concurrency.md +++ b/Concurrency.md @@ -182,8 +182,8 @@ Hence, the following may occur: 1. *Task AB* executes `bank.write_account(source)` and updates *Account A* with *-$10* 2. Before updating *Account B*, *Task AB* sends two messages and during that time, the event loop continues *Task BA* -3 *Task BA* executes `bank.write_account(source)` and updates *Account B* with *-$100* -3. Before updating *Account A*, *Task BA* sends two messages and during that time, the event loop continues *Task AB* +3. *Task BA* executes `bank.write_account(source)` and updates *Account B* with *-$100* +4. Before updating *Account A*, *Task BA* sends two messages and during that time, the event loop continues *Task AB* 5. *Task AB* executes `bank.write_account(target)` and updates *Account B* with *+$100* 6. When *Task BA* is resumed again, it executes `bank.write_account(target)` and updates *Account A* with *+$10*