[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_shlibdeps: bogus? warnings when linking against pthread

On Sun, Oct 19, 2008 at 05:59:55PM +0000, Pierre Habouzit wrote:
> Glibc has stubs for many of the pthread functions, that do nothing when
> libpthread isn't loaded. This way, code has not runtime performance for
> using mutexes and locking when there is no thread used.
> If your library only uses the stuff that the libc has stubs for, then
> you don't want to force linking against libpthread, as it will bring a
> performance penalty for mono-threaded programs.

·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpYAJyZvMR7w.pgp
Description: PGP signature

Reply to: