Skip to content

UnSubble/ThreadPool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Producer-Consumer Thread Management

This Java project demonstrates a simple implementation of the producer-consumer problem using multi-threading and a thread manager.

Table of Contents

Introduction

The project consists of producer and consumer tasks managed by a ThreadManager class. Producers produce items, consumers consume them, and the ThreadManager coordinates their interactions.

Features

  • Producer-Consumer Interaction: Demonstrates the classic producer-consumer problem with thread management.
  • Thread Safety: Utilizes synchronization to ensure thread safety during list manipulation.

Usage

  1. Clone the repository.
  2. Compile and run the Main class.
  3. Observe the interactions between producers and consumers in the console.

Technologies Used

  • Java
  • Thread Management
  • Synchronization

License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages