Weak aliases for pthread functions not provided in libc

Edit Package 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.

Refresh
Refresh
Source Files
Filename Size Changed
libpthread-stubs-0.2.tar.bz2 0000214967 210 KB
libpthread-stubs.spec 0000002911 2.84 KB
Latest Revision
Huaren Zhong's avatar Huaren Zhong (zhonghuaren) committed (revision 4)
Comments 0
openSUSE Build Service is sponsored by