From 915145a94c523fb758215b05e3f297c71627e67b Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 23 Nov 2006 07:50:57 -0800 Subject: Add README --- README | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..4e7e85b --- /dev/null +++ b/README @@ -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. -- cgit v1.2.3