|
|
|
|
Portable Threads
Abstract
Pth is a very portable POSIX/ANSI-C based library for Unix platforms which
provides non-preemptive priority-based scheduling for multiple threads of
execution (aka ``multithreading'') inside event-driven applications. All
threads run in the same address space of the server application, but
each thread has it's own individual program-counter, run-time stack,
signal mask and errno variable.
The thread scheduling itself is done in a cooperative way, i.e., the threads
are managed by a priority- and event-based non-preemptive scheduler. The
intention is that this way one can achieve better portability and run-time
performance than with preemptive scheduling. The event facility allows
threads to wait until various types of events occur, including pending I/O on
filedescriptors, asynchronous signals, elapsed timers, pending I/O on message
ports, thread and process termination, and even customized callback functions.
Additionally Pth provides an optional emulation API for POSIX.1c threads
("Pthreads") which can be used for backward compatibility to existing
multithreaded applications.
Notice: GNU pth and OSSP pth
are exactly the same. OSSP pth just became an official part of the GNU project
some time ago. That's why its primary name is now GNU pth, although it is
still developed by the OSSP project only. The official companion GNU locations
are: http://www.gnu.org/software/pth/
and ftp://ftp.gnu.org/gnu/pth/.
GNU Pth releases are officially announced on pth-users@gnu.org and on Freshmeat. The Freshmeat GNU pth project page
gives more details.
Documentation
pth(3)
,
pth-config(1)
,
pthread(3)
,
pthread-config(1)
.
Authors
Ralf S. Engelschall <rse@engelschall.com>
Status
Stable Version: | 2.0.7 | (08-Jun-2006) |
[Bug Reporting]
|
Genesis: | |
Finished: |
100% |
|
Source
Donation
OSSP pth is a sub-project of OSSP and hence a fully
non-profit Open Source Software
effort. The development on OSSP projects
like OSSP pth is supported by the contributions and sponsoring of individuals
and companies. You can support OSSP pth and the
other OSSP projects yourself by contributing source fixes and
enhancements or by donating
money.
To reward the efforts on OSSP pth, just
press the button to the right to perform a secure PayPal online money transaction to the
OSSP project. Credit will be given to you on the OSSP Sponsors page once your donation
was received.
|
|
|
|
|
|
|
|