diff options
author | Josh Triplett <josh@freedesktop.org> | 2006-11-23 07:50:57 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2006-11-23 07:50:57 -0800 |
commit | 915145a94c523fb758215b05e3f297c71627e67b (patch) | |
tree | f04431d320bc57d9e12165cde3f7af187be325b7 | |
parent | 00c8863385be5ca0787c61b648c3a7c8d26faddb (diff) |
Add README
-rw-r--r-- | README | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +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. |