This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Dummy pthread functions in libc considered harmful
- From: Andreas Schwab <schwab at suse dot de>
- To: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Cc: Rich Felker <dalias at libc dot org>, libc-alpha at sourceware dot org
- Date: Tue, 25 Aug 2015 09:09:58 +0200
- Subject: Re: Dummy pthread functions in libc considered harmful
- Authentication-results: sourceware.org; auth=none
- References: <mvmr3ms4sbj dot fsf at hawking dot suse dot de> <20150824153816 dot GC3210 at type dot bordeaux dot inria dot fr> <20150824162250 dot GD32742 at brightrain dot aerifal dot cx> <20150824162641 dot GH3210 at type dot bordeaux dot inria dot fr>
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."