Home > Repositories > base > libpthread-stubs
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.
libpthread-stubs.spec
Build required by
libpthread-stubs: This library provides weak aliases for pthread functions not provided in libc
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.
| Name: | libpthread-stubs |
| Release: | 0.5-2mamba |
| Group: | System/Libraries |
| Maintainer: | silvan |
| License: | MIT |
| Size: | 71.86 kB |
| Upstream URL: | https://xcb.freedesktop.org/ |
| Build time: | 2026-10-09 15:42:33 |
Source files
libpthread-stubs-0.5.tar.xzlibpthread-stubs.spec
Binary packages and requirements
| x86_64 | aarch64 | i586 | |
|---|---|---|---|
| Built RPMS | libpthread-stubs-devel | libpthread-stubs-devel | libpthread-stubs-devel |
| Build requirements |
History of changes
| Date | Packager | Release | Description |
|---|---|---|---|
| 2026-10-09 | autodist | 0.5-2mamba | - automatic rebuild by autodist |
| 2023-08-15 | silvan | 0.5-1mamba | - update to 0.5 |
| 2017-04-10 | autodist | 0.4-1mamba | - automatic update by autodist |
| 2014-01-19 | silvan | 0.3-3mamba | - posttrans: remove references to libpthread-stubs.la in /usr/lib64/*.la files |
| 2014-01-17 | silvan | 0.3-2mamba | - libpthread-strubs-devel: don't require libpthread-stubs |
| 2010-05-08 | autodist | 0.3-1mamba | - automatic update by autodist |
| 2009-10-10 | silvan | 0.2-2mamba | - devel package: don't obsolete main package |
| 2009-09-29 | autodist | 0.2-1mamba | - automatic update by autodist |
| 2008-06-21 | silvan | 0.1-3mamba | - correct obsolete for libpthread-stubs |
| 2008-06-20 | silvan | 0.1-2mamba | - specfile updated - removed libpthread-stubs package and obsoleted by libpthread-stubs-devel |
