liveBook · Manning

POSIX Threads API

The POSIX Threads API is a standardized interface for creating, managing, and synchronizing threads on POSIX systems.

How 2 Manning books explain it

Learn Concurrent Programming with Go

POSIX Threads is a standardized API and specification for creating, managing, and synchronizing threads.

How it is used
Standardizes thread creation, management, and synchronization across operating-system implementations.
How deep it goes
Explains the standard’s role and implementation differences but defers detailed API calls and operating-system internals.
Examples
Contrasts Windows CreateThread, Linux clone with CLONE_THREAD, Java threads, Python’s global interpreter lock, and Go goroutines.
What you can do after
Evaluate/understand how thread implementations differ while recognizing transferable multithreading techniques.

Read how Learn Concurrent Programming with Go explains POSIX Threads API →

Refactoring to Rust

POSIX threads are a standardized operating-system threading interface for creating and managing native threads.

How it is used
Distinguishes operating-system parallelism from asynchronous concurrency when evaluating threaded computation.
How deep it goes
Defines operating-system and green threads, then demonstrates Python thread submission without detailing the pthreads API.
Examples
Uses a can-crusher throughput analogy and a Python Mandelbrot ThreadPoolExecutor example.
What you can do after
Evaluate threaded computation with Python’s ThreadPoolExecutor and compare its measured improvement against asynchronous execution.

Read how Refactoring to Rust explains POSIX Threads API →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.