This repository contains my solutions to the exercises from my OS book.
Implemented in C and tested on Linux (Ubuntu / WSL2).
exercise1/– A preliminary threading example that gives avg, min, and max of an int array implemented using 3 threads.exercise2/– Much similiar to exercise 1, this exercise puts more emphasis on the memory sharing properties of threads.multiThreadListener/– Server-client socket programming exercise
- All programs were compiled with
gcc. - Some exercises require Linux environment due to system calls (
fork(),pthread,socket, etc.).