Dummy pthread functions in libc considered harmful

Andreas Schwab schwab@suse.de
Tue Aug 25 07:10:00 GMT 2015


Samuel Thibault <samuel.thibault@ens-lyon.org> writes:

> It's usually not programs which call pthread_mutex, but libraries which
> want to be thread-safe without actually bringing the libpthread
> dependencye.

Does the reason for avoiding the dependency still exist?  Surely the
overhead of libpthread has been greatly reduced since the days of
linuxthreads.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list