xenocara/lib/libpthread-stubs
matthieu fc61d47eda OpenBSD stuff for libpthread-stubs:
- add a Makefile wrapper
- fix pthread_self() prototype.
2009-05-22 16:29:39 +00:00
..
aclocal.m4 import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
config.guess import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
config.h.in import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
config.sub import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
configure import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
configure.ac import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
COPYING import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
depcomp import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
install-sh import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
ltmain.sh import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
Makefile.am import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
Makefile.bsd-wrapper OpenBSD stuff for libpthread-stubs: 2009-05-22 16:29:39 +00:00
Makefile.in import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
missing import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
pthread-stubs.pc.in import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
README import libpthread-stubs 0.1 2009-05-22 15:50:33 +00:00
stubs.c OpenBSD stuff for libpthread-stubs: 2009-05-22 16:29:39 +00:00

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.