Find the perfect coding resourcesLearn moreโ†’

Threads, but SMART.

Low Level AcademyLow Level Academy
โ€ข
Recommended
Meet Your Instructor
Low Level avatar

Low Level

Instructor

Ed, also known as Low Level, is a low level programmer, security engineer, and software security researcher with over 10 years of experience. On YouTube, he has over 800,000 subscribers where he teaches the internet how to harness the lowest levels of computing. He is the founder of Low Level Academy, where he teaches the fundamentals of software and helps developers become better programmers.

Completion

Certificate included

Format

Interactive coding

$197 - One-time purchase for lifetime access

What You'll Learn

Master pthread API for thread creation and management

Implement thread synchronization using mutexes and condition variables

Build efficient thread pools for optimal resource management

Design producer-consumer systems for effective data processing

Optimize multithreaded applications for maximum performance

Overview

Modern CPUs have multiple cores, but most applications only use one. Learn how to harness the full potential of your hardware with smart multithreading. โšก Beyond Basic Threading - Forget the nightmare of race conditions, deadlocks, and hard-to-debug issues. This course teaches you the right way to design multithreaded applications that are both performant and correct. ๐Ÿงต Master Concurrency Patterns - Thread pools, worker queues, producer-consumer models, and more - learn battle-tested patterns that solve real-world concurrency challenges and scale with your application's needs. ๐Ÿ“ˆ After this course, you'll be able to design applications that efficiently distribute work across multiple CPU cores, dramatically improving performance for computation-intensive tasks and responsive user interfaces. ๐Ÿš€

Table of Contents
1
Course Introduction
2
Understanding Processes vs. Threads
3
Creating and Terminating Threads
4
Joining and Detaching Threads
5
Passing Arguments to Threads
6
Understanding Thread Synchronization
7
Mutexes
8
Semaphores
9
Spin Locks
10
Mutex Exercise
11
Thread Specific Data (TSD)
12
Managing Thread Attributes
13
Pin a CPU
14
Deadlocks
15
Performance Considerations
16
Traffic Jam
17
Project Setup
18
Introduction
19
Implementing the Thread Pool Structure
20
Test: Running Threads
21
Implementing the Working Threads
22
Threadpool Graceful Shutdown
23
Test: Thread Shutdown
24
Testing the Threadpool
25
Test: End to End Threadpool Execution

Share Your Experience

Sign in to leave a review and help others

No reviews yet. Be the first to review!