libpthread-stubs0-dev - pthread stubs not provided by native libc, development files

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libpthread-stubs0-dev
Package version: 0.3
Package release: 4
Package architecture: amd64
Package type: deb
Installed size: 40 B
Download size: 3.78 KB
Official Mirror:
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.



    Source package: libpthread-stubs

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libpthread-stubs0-dev deb package:
      # sudo apt-get install libpthread-stubs0-dev


    • /usr/lib/x86_64-linux-gnu/pkgconfig/pthread-stubs.pc
    • /usr/share/doc/libpthread-stubs0-dev/README
    • /usr/share/doc/libpthread-stubs0-dev/changelog.Debian.gz
    • /usr/share/doc/libpthread-stubs0-dev/copyright


    2013-09-22 - Julien Cristau <> libpthread-stubs (0.3-4) unstable; urgency=low * Stop building libpthread-stubs0{,-udeb} (closes: 706865).

    2011-11-11 - Julien Cristau <> libpthread-stubs (0.3-3) unstable; urgency=low [ Steve Langasek ] * Build for multiarch. Closes: #632555. [ Julien Cristau ] * Point Vcs-{Git,Browser} at collab-maint. * Remove Jamey Sharp from Uploaders (closes: #568281). * Remove Josh Triplett from Uploaders. * Use dh instead of cdbs. In the process (and in order to be able to test it), make the package actually buildable on hurd, which doesn't have the stubs in libc, but whose pulls in, defeating our configure checks; so make the build find an empty instead of the system one. [ Samuel Thibault ] * Fix pthread_exit prototype (closes: #622148).

    2011-06-13 - Samuel Thibault <> libpthread-stubs (0.3-2.1) unstable; urgency=low * Non-maintainer upload. * Add libpthread-stubs-udeb (Closes: #620946)

    2009-11-16 - Julien Danjou <> libpthread-stubs (0.3-2) unstable; urgency=low * Fix bogus symlink (Closes: #556222)

    2009-10-14 - Julien Danjou <> libpthread-stubs (0.3-1) unstable; urgency=low * New upstream release + Revert sem_ symbols (Closes: #548240) * Move static stuff in /usr/lib (Closes: #548109)

    2009-09-23 - Julien Danjou <> libpthread-stubs (0.2-1) unstable; urgency=low * New upstream release + Provides sem function (Closes: #495229) * Add myself as uploader * Bump standard version * Move lib into /lib (Closes: #480237) * Add copyrights * Fix substvars in debian/control

    2007-05-21 - Josh Triplett <> libpthread-stubs (0.1-2) unstable; urgency=low * Add XS-Vcs-Git and XS-Vcs-Browser fields. * Upload to unstable.

    2006-11-24 - Jamey Sharp <> libpthread-stubs (0.1-1) experimental; urgency=low * Initial release.