https://github.com/daniel05155/client-server-bank-system
This project is a banking management system built with the concept of operating system and multithread programming using C++.
https://github.com/daniel05155/client-server-bank-system
bank-system cpp operating-system
Last synced: 3 months ago
JSON representation
This project is a banking management system built with the concept of operating system and multithread programming using C++.
- Host: GitHub
- URL: https://github.com/daniel05155/client-server-bank-system
- Owner: daniel05155
- Created: 2022-02-23T13:57:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-20T08:05:35.000Z (about 3 years ago)
- Last Synced: 2025-01-16T13:49:28.331Z (5 months ago)
- Topics: bank-system, cpp, operating-system
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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)
