pth - GNU Portable Threads

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename pth-2.0.7_1.txz
Package name pth
Package version 2.0.7
Package release 1
Package architecture amd64
Package type txz
Category devel
License -
Download size 151.07 KB
Installed size 645.59 KB
GNU Pth - The GNU Portable Threads
Copyright (c) 1999-2005 Ralf S. Engelschall <>
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 file descriptors, asynchronous signals,
elapsed timers, pending I/O on message ports, thread and process
termination, and even customized callback functions.


Package Version Architecture Repository
pth-2.0.7_1.txz 2.0.7 i386 FreeBSD Ports Quarterly
pth-2.0.7_1.txz 2.0.7 amd64 FreeBSD Ports Quarterly
pth-2.0.7_1.txz 2.0.7 i386 FreeBSD Ports Latest
pth - - -


Name Value - -


Type URL
Binary Package pth-2.0.7_1.txz
Source Package devel/pth

Install Howto

Install pth txz package:

# pkg install pth

See Also

Package Description
pth-hard-2.0.7_1.txz GNU Portable Threads
pthreadpool-g20181121.txz Pthread-based thread pool for C/C++ for arrays parallelization
pthsem-2.0.8_3.txz GNU Portable Threads with semaphores
ptiger-2.2_3.txz Displays U.S. Census Bureau populated places on a map
ptkei-2.00.0_1.txz Python/Tk graphical client for Wolfpack Empire servers
ptlib-2.10.11_3.txz Cross platform C++ library, used by OPAL
ptmalloc-3.0_2.txz Alternative threads-aware malloc
ptmalloc2-20060605_3.txz Alternative threads-aware malloc
ptoc-3.58_1.txz ANSI/Turbo Pascal to C/C++ converter
ptools2-0.5.txz Toolset based on Solaris ptools functionality
ptpd2-2.3.1.txz Implementation of the precision time protocol IEEE 1588-2008
ptsort-1.20170904.txz Prioritized topological sort
ptunnel-0.72_1.txz Tunneling TCP connections over ICMP echo request and reply
ptx-kmod-0.0.20111212_1.txz Device driver for PT1/PT2 ISDB-S/T tuner cards
pty-1.2.txz Helps debug programs which fiddle with their tty settings