Skip to content

Jack9827/Thread_Pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ThreadPool Rust

A simple thread pool implementation in Rust built using only the standard library to understand concurrency, worker threads, task scheduling, and producer-consumer architecture.

Features

  • Fixed-size worker pool
  • Concurrent task execution
  • Task queue using channels
  • Graceful shutdown
  • CPU-bound benchmark
  • Worker logging

Architecture

Main Thread
    │
submit(task)
    ▼
Task Queue
    │
    ▼
Worker Threads
    │
execute tasks concurrently

About

How to make and execute functions parallely using thread pool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages