Skip to content

This project is a banking management system built with the concept of operating system and multithread programming using C++.

Notifications You must be signed in to change notification settings

daniel05155/Client-Server-Bank-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Client-Server-Bank-System

System

  • Ubuntu Desktop 21.10

Programming Language

  • C++

Introduction

  • A simple bank system using C++ in Linux.
  • This system only accepts the localhost(127.0.0.1) as source IP address
  • It only allows the same user to use it ,but the user can operate at the same time in different places.

The Implemented Functions:

Name Content
Deposit, Withdraw , Balance-Checking It offers the basic functions
Multithreaded System By socket programming and Pthread API, it can create multiple threads at the same time to handle the requests for the user.
The consistency of shared resources By mutex in Pthread API, it can maintain the correctness of the synchronized data.
Logout The user can send the interrupt signal using Ctrl-C to end the transaction.

Testing

  1. Multithread Programming (The three users as follows)

  2. To achieve the requests of critical section:

  3. Software Interrupt — Signal:

  4. The completed process (Login -> Deposit -> Withdraw -> Balance-Checking -> Logout)

About

This project is a banking management system built with the concept of operating system and multithread programming using C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages