Skip to content
systemcoding.dev

Library

Everything you need to level up your coding skills.

Flat illustration of parallel threads meeting at a mutex, with the C, Go and Erlang logos.
Concurrency

Create and Join Threads with pthread_create

Start threads with pthread_create, wait for them with pthread_join and check the error codes correctly. Includes a complete C program and the mistakes to avoid.

7 min read
Flat illustration of parallel threads meeting at a mutex, with the Linux, Erlang and C logos.
Concurrency

Processes vs Threads: What Is the Difference

A process owns an address space and a thread is a schedulable flow inside one. See what each shares and isolates on Linux, with fork and pthread_create code.

7 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.