Skip to content

MixiMaxiMouse/ProgammationConcurrente

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

   / __ \/ ____/   |  / __ \/  |/  / ____/      /  |/  / __ \
  / /_/ / __/ / /| | / / / / /|_/ / __/        / /|_/ / / / /
 / _, _/ /___/ ___ |/ /_/ / /  / / /____  _   / /  / / /_/ / 
/_/ |_/_____/_/  |_/_____/_/  /_/_____ / (_) /_/  /_/_____/  

POLYTECH Grenoble

ProducteursConsommateurs

This project contains multiple implementations of the classic Producer-Consumer problem in Java. Each version demonstrates different approaches to solving this concurrency challenge.

Project Structure

  • src/prodcons/v1: Initial version with basic implementation.
  • src/prodcons/v2-v6: Iterative improvements and variations of the producer-consumer implementation.
  • resources/options.xml: Configuration file for customizable options.

Getting Started

Prerequisites

  • Java Development Kit (JDK) 11 or higher.
  • A Java IDE or build tool (e.g., Eclipse, IntelliJ IDEA, or Maven).

Running the Application

  1. Clone or download the project to your local machine.
  2. Open the project in your preferred IDE.
  3. Navigate to a TestProdCons.java file in one of the versions (e.g., src/prodcons/v1/TestProdCons.java).
  4. Run the file to execute the producer-consumer logic for the selected version.

Customization

You can customize runtime parameters via the options.xml file located in src/resources.

Contributing

Feel free to submit issues or pull requests if you have improvements or fixes!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages