Skip to content


Here are 18 public repositories matching this topic...

RunTransactons simulates transactions being processed on bank accounts. There is always a chance that more than one thread will want to update an account at the same time. In that case, ATMs that are being used by the same account at the same time by different users might not get the most up-to-date account information(balance), which can cause banks financial loss. So the program uses critical sections to avoid that issue, and makes other threads wait until the account is ready to be reused without giving users any errors.

  • Updated Feb 5, 2018
  • C

Improve this page

Add a description, image, and links to the critical-section topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the critical-section topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.