summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/dllockinit.3
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2000-01-09 21:01:39 +0000
committerjdp <jdp@FreeBSD.org>2000-01-09 21:01:39 +0000
commit2ffb21198ce22e7d88ac090e89fa06b46d4135b8 (patch)
tree181055b79b7c726a447bfbd762d92cf8bf7595a2 /lib/libc/gen/dllockinit.3
parent5f68254a360fdb4f3ebc30f6ad6507556425dd0a (diff)
downloadFreeBSD-src-2ffb21198ce22e7d88ac090e89fa06b46d4135b8.zip
FreeBSD-src-2ffb21198ce22e7d88ac090e89fa06b46d4135b8.tar.gz
Remove the warning that this interface shouldn't be used yet. Fix
a typo. Clarify a sentence.
Diffstat (limited to 'lib/libc/gen/dllockinit.3')
-rw-r--r--lib/libc/gen/dllockinit.312
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/gen/dllockinit.3 b/lib/libc/gen/dllockinit.3
index f57b3f5..c9f7207 100644
--- a/lib/libc/gen/dllockinit.3
+++ b/lib/libc/gen/dllockinit.3
@@ -36,10 +36,6 @@
.Ft void
.Fn dllockinit "void *context" "void *(*lock_create)(void *context)" "void (*rlock_acquire)(void *lock)" "void (*wlock_acquire)(void *lock)" "void (*lock_release)(void *lock)" "void (*lock_destroy)(void *lock)" "void (*context_destroy)(void *context)"
.Sh DESCRIPTION
-.Bf Sy
-This interface is subject to change and should not be used yet.
-.Ef
-.Pp
Threads packages can call
.Nm
at initialization time to register locking functions for the dynamic
@@ -80,14 +76,14 @@ parameter specifies a function to destroy a lock. It may be
.Dv NULL
if locks do not need to be destroyed. The
.Fa context_destroy
-specifies a function to destroy the context. It may be
+parameter specifies a function to destroy the context. It may be
.Dv NULL
if the context does not need to be destroyed.
.Pp
-Before
+Until
.Nm
-is called, the dynamic linker protects its critical sections by
-blocking the
+is called, the dynamic linker protects its critical sections using
+a default locking mechanism which works by blocking the
.Dv SIGVTALRM ,
.Dv SIGPROF ,
and
OpenPOWER on IntegriCloud