I created calculator that could work through a network connection, using a thread for each client connection. I made a struct type to represent the data associated with a particular client, which includes the client socket file descriptor and a pointer to the shared struct Calc instance. I added synchronization to my implementation so that expression evaluations are atomic.
-
Notifications
You must be signed in to change notification settings - Fork 0
connortwall/Multithreaded-Network-Calculator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
I created calculator that can work through a network connection; using a thread for each client connection.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published