]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libthr(3): explain some internals of the locks implementation
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 1 Oct 2021 01:17:02 +0000 (04:17 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 5 Oct 2021 03:39:53 +0000 (06:39 +0300)
commitf5b9747075a9b489226e2a911f8a1597f4b9d072
tree3e941fd0c4995ad6acf1a9fe2dbdd8f75695e193
parent6bda192013fc8e6c994098fe262f2a74f424cb57
libthr(3): explain some internals of the locks implementation

Describe internal allocations, mention problems with the use of global
malloc(3) and the reasons for internal allocator existence.

Document shared objects implementation and describe shortcomings of the
chosen approach, as well as the rationale why it was done that way.

Reviewed by: markj
Discussed with: jilles
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D32243
lib/libthr/libthr.3