Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (26 loc) · 1.18 KB

File metadata and controls

30 lines (26 loc) · 1.18 KB

Bus-Terminal-Simulation

Using Java, a multithreaded bus simulation has been created that showcase threads and their abilities as well as the java.util.concurrent package utilities that can be used.

This assignment was graded an A+ (GPA 4.00) by Asia Pacific University Lecturer (Mr. Zailan Arabee was my direct lecturer).

Concepts Applied
Race Conditions Solved
Thread Starvation/Fairness Solved
Thread Interference Solved
Atomicity of Operations Solved
Preventing Slipped Conditions Solved
Synchronisation Performance Overhead Minimized
Graceful Shutdown via/ Poison Pill Applied
java.util.concurrent Applied
synchronized code-blocks Yes
CountDownLatch Yes
Atomic Variables Yes
ReentrantLocks Yes
BlockingQueues Yes
BlockingDequeus Yes
Semaphores Yes
volatile Yes
Others? Not needed

A video presentation on this application

Click the video image below to be re-directed to a YouTube video.
A video presentation on this application