diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-01-29 09:20:36 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-01-29 09:20:36 +0000 |
commit | 96963603bb33a1a75e1f58c0283667b648f29909 (patch) | |
tree | 1ec56ea85b81682f40927b7da6e1d47b1037b5d0 /devel/libpthread-stubs/pkg-descr | |
parent | 58dd600615034070f44ccc104d62bdea5f350a16 (diff) | |
download | ports-96963603bb33a1a75e1f58c0283667b648f29909.tar.gz ports-96963603bb33a1a75e1f58c0283667b648f29909.zip |
Notes
Diffstat (limited to 'devel/libpthread-stubs/pkg-descr')
-rw-r--r-- | devel/libpthread-stubs/pkg-descr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libpthread-stubs/pkg-descr b/devel/libpthread-stubs/pkg-descr new file mode 100644 index 000000000000..5669418fead7 --- /dev/null +++ b/devel/libpthread-stubs/pkg-descr @@ -0,0 +1,11 @@ +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: http://xcb.freedesktop.org/ |