devel/pth 2.0.7_3 MidnightBSD
GNU Portable Threads
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- lgpl
- Categories
- devel
Description
GNU Pth - The GNU Portable Threads Copyright (c) 1999-2005 Ralf S. Engelschall <[email protected]>
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.
In the other systems
Install
Binary package:
mport install pth
From mports:
cd /usr/mports/devel/pth && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pth>0:devel/pth
Dependencies
No port depends on this one.
Configuration
Options name: devel_pth
| Option | Default | Description |
|---|---|---|
| OPTIMIZED_CFLAGS | on |
- USES
- libtool
- Service scripts
- none
- Conflicts with
- pth-hard-2.*
Files
Manual pages 4
- pth(3)
- pth-config(1)
- pthread(3)
- pthread-config(1)
pkg-plist 17
- bin/pth-config
- bin/pthread-config
- include/pth/pth.h
- include/pth/pthread.h
- lib/pth/libpth.a
- lib/pth/libpth.so
- lib/pth/libpth.so.20
- lib/pth/libpth.so.20.0.27
- lib/pth/libpthread.a
- lib/pth/libpthread.so
- lib/pth/libpthread.so.20
- lib/pth/libpthread.so.20.0.27
- share/aclocal/pth.m4
- share/man/man1/pth-config.1.gz
- share/man/man1/pthread-config.1.gz
- share/man/man3/pth.3.gz
- share/man/man3/pthread.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pth-2.0.7.tar.gz | 652640 | 72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232 |
Master sites 1
- ${MASTER_SITE_GNU}