This repository contains a collection of programs written in C++ that demonstrate various concepts related to operating systems, including process management, inter-process communication, threading, synchronization, and socket programming. These programs are designed to help learners understand and explore fundamental concepts in operating systems and concurrent programming.
Process Management: Programs demonstrating process creation, termination, and communication.
IPC (Inter-Process Communication): Examples of communication between processes using different IPC mechanisms such as pipes, message queues, and shared memory.
Threading: Programs showcasing multi-threading concepts including thread creation, synchronization, and communication.
Synchronization: Examples illustrating synchronization techniques such as mutexes, semaphores, and condition variables.
Socket Programming: Programs demonstrating network communication using sockets, including TCP/IP and UDP protocols.
- Clone the repository to your local machine. git clone https://github.com/deep1020/Operating-System-Coursework.git
- Navigate to the directory of the program you want to explore: cd your_repository
- Compile the program using a C++ compiler: g++ program_name.cpp -o program_name
- Run the compiled executable: ./program_name