libthr.3: document LIBPTHREAD_PSHARED_LOCK_DESTROY_IMMEDIATE_GC

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov committed 2026-09-28 01:30:00 +03:00
1 parent 4472a048cf
commit c2f66b6616
1 file changed
+7 -1
+7 -1
View File
@@ -206,8 +206,14 @@ for pthread operations specifying a timeout.
If the operation requests a timeout less than the value provided,
it is silently increased to the value.
The value of zero means no minimum (default).
.Pp
.It Ev LIBPTHREAD_PSHARED_LOCK_DESTROY_IMMEDIATE_GC
The implementation of the process shared lock scans
the mapped shared off-pages to detect locks destroyed by other processes,
when the current process destroys a shared lock.
This is done not more often than 25msec.
Setting the environment variable causes the scan to run on each destroy.
.El
.Pp
The following
.Dv sysctl
MIBs affect the operation of the library: