Software:GNU Portable Threads

From HandWiki
Revision as of 22:18, 8 November 2021 by imported>NBrush (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GNU Portable Threads
GNU Pth logo.jpg
Original author(s)Ralf S. Engelschall
Initial releaseJuly 16, 1999; 25 years ago (1999-07-16)
Stable release
2.0.7 / June 8, 2006; 18 years ago (2006-06-08)
Operating systemPOSIX
TypeRuntime library
LicenseLGPL

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.[1]

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

References

  1. "GNU". http://directory.fsf.org/wiki/GNU. Retrieved 25 June 2012. 

External links