Skip to content

Baqir-git/OS_LabProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS Lab Project

🧠 Design Report

The project implements a client-thread pool and a worker-thread pool model for concurrent task execution.
Tasks submitted by clients are passed to the worker pool through a shared task queue.
Synchronization is managed using mutexes and condition variables.

Key Features:

  • Multi-threaded design
  • Task queue for communication between pools
  • Proper synchronization (mutex, condition variable)
  • Clean resource management and thread termination

🔄 Communication Mechanism

The communication between the client thread pool and the worker thread pool is achieved using a shared synchronized task queue.

  • Clients enqueue tasks into the queue.
  • Workers dequeue tasks and execute them.
  • The queue is protected by mutex and condition variable to ensure thread-safe access.

🧪 Testing Instructions

🏗️ Build

make

About

Multithreaded File Server with Thread Pools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published