GNU Pth (Portable Threads) is a
POSIX/
ANSI-
C based
user space thread
Thread may refer to:
Objects
* Thread (yarn), a kind of thin yarn used for sewing
** Thread (unit of measurement), a cotton yarn measure
* Screw thread, a helical ridge on a cylindrical fastener
Arts and entertainment
* ''Thread'' (film), 2016 ...
library for
UNIX platforms that provides priority-based scheduling for
multithreading applications. GNU Pth targets for a high degree of
portability
Portability may refer to:
*Portability (social security), the portability of social security benefits
* Porting, the ability of a computer program to be ported from one system to another in computer science
** Software portability, the 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
SMP may refer to:
Organisations
* Scale Model Products, 1950s, acquired by Aluminum Model Toys
* School Mathematics Project, UK developer of mathematics textbooks
* '' Sekolah Menengah Pertama'', "junior high school" in Indonesia
* Shanghai Mun ...
as kernel dispatching would be necessary.
See also
*
Fiber
References
External links
*
Downloads
{{DEFAULTSORT:Gnu Portable Threads
Application programming interfaces
C (programming language) libraries
Portable Threads
Threads (computing)