mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 19:22:47 +00:00
Remove the warning that this interface shouldn't be used yet. Fix
a typo. Clarify a sentence.
This commit is contained in:
parent
5f1c68f748
commit
7f20578830
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55685
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user