Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2015 10:46:45 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>, threads@freebsd.org, arch@freebsd.org
Subject:   Re: libthr shared locks
Message-ID:  <567DFF95.70904@freebsd.org>
In-Reply-To: <20151223172528.GT3625@kib.kiev.ua>
References:  <20151223172528.GT3625@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24/12/2015 1:25 AM, Konstantin Belousov wrote:
> A well-known limitation of the FreeBSD libthr implementation of the
> pthread locking objects is the missed support for the process-shared
> locks.  The hardest part of implementing the support is the neccessity
> of providing ABI compatibility for the current implementation.

> [...]

>
> Changing this ABI is very hard.  libthr provides the symbol
> versioning, which allows to provide compatible shims for the previous
> ABI variant.  But since userspace tends to use the pthread objects in
> the layouts of the library objects, this causes serious ABI issues
> when mixing libraries built against different default versions of
> libthr.

which is one reason I think symbol versioning is over-rated..
just make a new library version.
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?567DFF95.70904>