---
title: GNU Portable Threads
slug: gnu-portable-threads
qid: 
snapshot: enwiki-001327830075
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1327830075
tags: [23603337, 26220375, 26898194, 29454250, 31621131, 36237999]
---

# GNU Portable Threads

> [!note] Provenance
> Snapshot `enwiki-001327830075` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1327830075> · Licensed CC BY-SA 4.0

GNU Pth (Portable Threads) is a POSIX/ANSI-C based user space thread library for UNIX platforms that provides priority-based scheduling for multithreading applications. GNU Pth targets for a high degree of portability. It is part of the GNU Project. Pth also provides API emulation for POSIX threads for backward compatibility. GNU Pth uses an N: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 N threads in user-space. Because of this there is no possibility to utilize SMP as kernel dispatching would be necessary.

GNU Pth (Portable Threads) is a POSIX/ANSI-C based user space thread library for UNIX platforms that provides priority-based scheduling for multithreading applications. GNU Pth targets for a high degree of portability. It is part of the GNU Project. Pth also provides API emulation for POSIX threads for backward compatibility. GNU Pth uses an N: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 N threads in user-space. Because of this there is no possibility to utilize SMP as kernel dispatching would be necessary. ==See also== Fiber ==References== ==External links== Downloads
