Skip to content

harrybridgen/ConcurrencyCPUSimulator

Repository files navigation

ConcurrencyCPUSimulator

A multithreaded CPU scheduling simulator written in C. Designed as university coursework to demonstrate concurrency, process scheduling, and resource management.

Features

  • Multiple CPUs simulated with pthread
  • Round Robin and First-Come-First-Served (FCFS) scheduling
  • Multi-level priority queues
  • Semaphore-based synchronization
  • I/O blocking and unblocking
  • Load balancing between CPUs
  • Rolling average response and turnaround time calculation

Technologies

  • C (GCC)
  • POSIX threads (pthread)
  • POSIX semaphores (semaphore.h)
  • Custom doubly linked list implementation

About

CPU simulation, that features concurrency, mutexes, semaphores and RR scheduling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages