Save this video — free

ECE344 Fall 2026 (Sec 1) Lec 13 - Threads

Jon Eyolfson · 53:47 · Watch on YouTube

ECE344 Fall 2026 (Sec 1) Lec 13 - Threads Watch on YouTube →

Overview

Jon Eyolfson distinguishes concurrency—switching among tasks—from parallelism—running tasks simultaneously, then explains how threads add multiple execution contexts inside one process. Using POSIX Pthreads, he demonstrates thread creation, scheduling, joining, detaching, exit behavior, stack attributes, and why passing a pointer to a short-lived stack variable can produce incorrect thread arguments.

Key takeaways

Chapters

0:00 Course Transition: From Test One to Threads
3:25 Concurrency Versus Parallelism Through Everyday Tasks
8:47 Threads Add Execution Contexts Inside a Process
13:21 Choosing Threads or Processes: Sharing, Cost, and Failure
17:10 POSIX Pthreads and the `pthread_create` Interface
22:00 Thread Scheduling, `pthread_join`, and Program Lifetime
29:40 Thread Exit Semantics and Detached Threads
39:10 Pthread Attributes and the Default Stack Size
40:50 Launching Four Threads and Passing IDs on the Heap
46:50 Why Passing a Loop Variable’s Stack Address Breaks

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jon Eyolfson.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.