Repository files navigation Client-Server-Bank-System
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.
Multithread Programming (The three users as follows)
To achieve the requests of critical section:
Software Interrupt — Signal:
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
You can’t perform that action at this time.