Skip to content

ektavarma10/Concurrency

Repository files navigation

Concurrency

This repository contains Java implementations of solutions to common concurrency problems. These solutions are provided as examples for working with multi-threading and synchronization in Java.

Prerequisite

  • Java
  • Basics of Concurrency(Mutex, Semaphore, Synchronized blocks)

Problem Description

  • Reader-Writer Problem - Solution to synchronise threads for n-reader and n-writer problem.
  • Dining-Philosopher Problem - Implementation of classic Dining philosopher using Semaphores.
  • Uber Riber Problem - Design a system wherein rides need to be an acceptable combination of riders. For the given problem I have assumed an even number of passengers wherein all riders can either be Type A or Type B or half of both.

Important Links

For a detailed description of problems go through this link.

Happy Coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages