How to use POSIX threads to increase the responsiveness and performance of your code.
Introduces what threads are, why they are useful and how to program with them using the POSIX 1003.1c thread standard and API bindings for C.
Goals: solve problems of pthreads library on Linux; add M:N threading, raise POSIX compliance and speed in threaded programs, more so under SMP, give threading services more like commercial Unix. Derived from GNU Pth. [Open Source, LGPL]
Frequently asked questions about the kernel-level multi-threading library for Linux.
Portable Threads: portable POSIX/ANSI-C library for Unix gives non-preemptive priority-based scheduling for multithreading in programs. All threads run in same address space, each has its own program counter, run time stack, signal mask, errno variable; cooperative scheduling: threads dispatched based on priority, pending events. [Open Source, GPL]
Initial performance: 8x Linux Threads, 4x NGPT. [Linux Weekly News]
White paper describes actual implementation of thread library for which requirements are spelled out in a prior document. Many things are different.
How to protect the integrity of shared data structures in threaded code by using mutexes.
The Single UNIX Specification (Version 2) standard for threads. Includes manual pages of all POSIX thread functions.
The complementary site for the book with the same title.
Computers /
Software /
Operating_Systems /
POSIX
|