cairo/util/cairo-trace
M Joonas Pihlaja a343c8c42d [trace] Don't use pthread_key_delete.
On OpenBSD libc doesn't provide pthread stubs like glibc on Linux
or newer libcs from FreeBSD.  However libX11 does provide a stubs
for a subset of the pthread functions (formerly in libXThrStub,
now moved into libX11 proper), but pthread_key_delete() is not
one of the stubbed ones.  So, on OpenBSD cairo's non-linking of
libpthread accidentally works as long as the xlib-surface is enabled,
which is nearly always the case.

This patch makes trace.c stand at the same precipice as cairo itself
by reverting to only a subset of the pthreads functions stubbed by
libX11.
2009-09-14 13:32:18 +03:00
..
.gitignore [.gitignore] Add 2008-10-31 13:43:37 -04:00
cairo-trace.in [trace] Get the tracee program name from the environment. 2009-09-02 04:42:07 +01:00
COPYING Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
COPYING-GPL-3 Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
lookup-symbol.c [trace] Simple unbounded cache for symbol lookups. 2008-11-19 11:59:20 +00:00
lookup-symbol.h [util] Add cairo-trace. 2008-10-31 15:37:58 +00:00
Makefile.am [build] Check for dlsym in both libdl and libc. 2009-09-14 13:32:18 +03:00
trace.c [trace] Don't use pthread_key_delete. 2009-09-14 13:32:18 +03:00