bshoshany /
thread-pool
BS::thread_pool: a fast, lightweight, modern, and easy-to-use C++17 / C++20 / C++23 thread pool library
89/100 healthLoading repository data…
Debug-The-Dreams / repository
High-Performance Multithreading in C with POSIX Threads (pThread) Unlock the power of parallel programming in C! This repo is a hands-on guide to mastering multithreading using the POSIX thread (pThread) library. Learn to write efficient, thread-safe code with real-world examples, clear explanations, and best practices.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
High-Performance Multithreading in C with POSIX Threads (pThread) Unlock the power of parallel programming in C! This repo is a hands-on guide to mastering multithreading using the POSIX thread (pThread) library. Learn to write efficient, thread-safe code with real-world examples, clear explanations, and best practices.
Below is directory structure inside this repo, it matches with video uploaded in playlist Multithreading in C programming.
01 Introduction to multithreading in C programming
Kickstart Multithreading: Learn how to create and launch threads in C, setting the foundation for concurrent programming.
You can use below link to learn more on creating threads with pThread.
01 Introduction to multithreading in C programming.
02 Mastering Threads: Passing Arguments & Capturing Return Values Made Easy
Passing the Baton: Discover how to pass arguments to threads and retrieve their return values for flexible, interactive tasks. You can use below link to learn more on passing arguments and capturing return value with pThread.
02 Mastering Threads: Passing Arguments & Capturing Return Values Made Easy.
03 Process vs Thread: Real-World Examples & Use Cases
Battle of the Titans: Dive into the differences between processes and threads, understanding their strengths, weaknesses, and use cases.
04 Understanding Race Conditions: Real-World Scenarios
The Great Race: Explore how race conditions occur, why they’re dangerous, and how to detect and prevent them in your code.
05 Mutex in Programming: How It Works & Why You Need It : Real-World Scenarios
Lock It Down: Master the use of mutexes to ensure safe access to shared resources and prevent data corruption in multithreaded environments.
06 Lock vs Trylock Explained: Which Should You Use?
Confused about when to use lock or trylock in your multithreaded programs? In this video, we break down the key differences between lock and trylock, show real-world examples, and explain how each affects thread synchronization and performance. Learn how to avoid deadlocks, improve efficiency, and choose the right tool for your code. Perfect for programmers and computer science enthusiasts!
Selected from shared topics, language and repository description—not editorial ratings.
bshoshany /
BS::thread_pool: a fast, lightweight, modern, and easy-to-use C++17 / C++20 / C++23 thread pool library
89/100 healthmax0x7ba /
C++14 concurrent lock-free low-latency queue.
91/100 healthgenaray /
07_Barriers
Synchronize Like a Pro: Use barriers to coordinate multiple threads, ensuring they reach synchronization points before proceeding.
07 Condition Variables Explained: The Secret to Thread Communication
Wait for It: Harness conditional variables to enable threads to wait for specific conditions, enabling powerful synchronization patterns.
08 Odd & Even Numbers with Threads: Condition Variable Magic!
Threaded Numbers Game: Solve the odd-even problem using threads, demonstrating precise coordination and alternation between tasks.
09 Avoiding Deadlocks: The Secret of Recursive Mutexes Revealed
Caught in a Trap: Understand how deadlocks happen, see real examples, and learn strategies to avoid these concurrency pitfalls.
10 Semaphore Magic: Control Threads Like a Pro!
Traffic Control: Use semaphores to manage access to limited resources, controlling how many threads can enter critical sections at once.
12 Producer-Consumer Problem Explained: Master the Bounded Buffer!
Perfect Harmony: Implement the classic producer-consumer problem, balancing production and consumption with thread-safe queues.
13 Mutual Exclusion Mastery: The Readers-Writers Solution
Read or Write? Tackle the reader-writer problem, allowing multiple readers or exclusive writers to access shared data efficiently.
Follow Us On:
A high-performance C# based Archetype & Chunks Entity Component System (ECS) with optional multithreading.
CMA-ES /
libcmaes is a multithreaded C++11 library with Python bindings for high performance blackbox stochastic optimization using the CMA-ES algorithm for Covariance Matrix Adaptation Evolution Strategy
64/100 healthtaskflow /
A High-Performance Work-Stealing Queue for C++
74/100 healthcwher /
Pixiv Utils implemented in Python, including Pixiv Crawler and Mosaic Puzzles, support for rankings, personal bookmarks, artist works and keyword search for personalized filtering, and provide high-performance multi-threaded parallel download. 🤗
81/100 health