BSD Ports

devel/pth 2.0.7nb5 NetBSD

GNU Portable Thread library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-lgpl-v2.1
Categories
devel
Package size
161.3 KiB, 702.9 KiB installed

Description

PTH is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive scheduling for multiple threads of execution ("multithreading") inside server applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable.

This version makes use of the --enable-syscall-hard option that provides replacement syscalls in libpthread. The function gives the appearance of some preemptiveness as it provides new syscall entry points.

In the other systems

SystemPortVersion
NetBSDdevel/pth2.0.7nb5
OpenBSDdevel/pth2.0.7p1
DragonFlydevel/pth2.0.7_2
MidnightBSDdevel/pth2.0.7_3

Install

Binary package:

pkgin install pth

From pkgsrc:

cd /usr/pkgsrc/devel/pth && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.0.7nb5
NetBSD 10.1 aarch642.0.7nb5
SmartOS / illumos x86_642.0.7nb5
macOS 15 arm642.0.7nb5

Dependencies