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 ^ hit > 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 [EMAIL PROTECTED] OOO http://www.madism.org
pgpmWKk4jAWze.pgp
Description: PGP signature