Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Detached Threads (pthreads) | C Programming Tutorial

8.1K views on YouTube

How to use detached threads in C using the POSIX pthread library, including an explanation of detached threads vs joinable threads, and an example of using a detached thread to write log messages to a file on a periodic basis. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/detached_threads.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!

Time Library Tutorial: https://www.youtube.com/watch?v=Qoed2uBwF_o