diff options
| author | John Polstra <jdp@FreeBSD.org> | 2000-01-09 21:01:39 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 2000-01-09 21:01:39 +0000 |
| commit | 7f20578830848af29ce981a896dfe80b478c490e (patch) | |
| tree | e5ef5f0826b55592cb335f8646fce48527e6176d /lib/libc | |
| parent | 5f1c68f7489c12bce03cdbe6af4faa34f7031683 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/dllockinit.3 | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/gen/dllockinit.3 b/lib/libc/gen/dllockinit.3 index f57b3f5c0100..c9f7207575b3 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 |
