freebsd-ports/devel/libpthread-stubs/pkg-descr
Dmitry Marakasov d612e26361 - Add LICENSE
- Update WWW
- Remove USES=libtool, USE_LDCONFIG, add NO_ARCH - this does not install any libraries

Approved by:	portmgr blanket
2018-03-08 08:33:08 +00:00

11 lines
686 B
Text

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.
WWW: https://xcb.freedesktop.org/