Jump to content

GNU Portable Threads

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dega180 (talk | contribs) at 18:13, 31 October 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
GNU Portable Threads
Developer(s)Ralf S. Engelschall
Stable release
2.0.7 / 8 June 2006
Operating systemPOSIX
TypeRuntime library
LicenseLGPL
Websitewww.gnu.org/software/pth

GNU Pth (Portable Threads) is a POSIX/ANSI-C based user-space thread library for UNIX platforms which provides priority-based scheduling for multithreading applications. GNU Pth targets for a high degree of portability.

Pth also provides API emulation for POSIX threads for backward compatibility.

GNU Pth uses a M:1 mapping to kernel-space threads, i.e., the scheduling is done completely by the GNU Pth library and the kernel itself is not aware of the M threads in user-space. Because of this there is no possibility to utilize SMP as kernel dispatching would be necessary.

See also