wip/libpthread-stubs 0.5 NetBSD
This library provides weak aliases for pthread functions
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- mit
- Categories
- wip, x11
Description
This library provides weak aliases for pthread functions not provided in libc or otherwise available by default. Libraries like libxcb rely on pthread stubs to use pthreads optionally, becoming thread-safe when linked to libpthread, while avoiding any performance hit when running single-threaded. libpthread-stubs supports this behavior even on platforms which do not supply all the necessary pthread stubs. On platforms which already supply all the necessary pthread stubs, this package ships only the pkg-config file pthread-stubs.pc, to allow libraries to unconditionally express a dependency on pthread-stubs and still obtain correct behavior.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | wip/libpthread-stubs | 0.5 |
| MidnightBSD | devel/libpthread-stubs | 0.4 |
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/libpthread-stubs && make install clean
Dependencies
No port depends on this one.