add packaging
[platform/upstream/libpthread-stubs.git] / README
1 This library provides weak aliases for pthread functions not provided in libc
2 or otherwise available by default.  Libraries like libxcb rely on pthread
3 stubs to use pthreads optionally, becoming thread-safe when linked to
4 libpthread, while avoiding any performance hit when running single-threaded.
5 libpthread-stubs supports this behavior even on platforms which do not supply
6 all the necessary pthread stubs.  On platforms which already supply all the
7 necessary pthread stubs, this package ships only the pkg-config file
8 pthread-stubs.pc, to allow libraries to unconditionally express a dependency
9 on pthread-stubs and still obtain correct behavior.