|
NAMEdllockinit —
register thread locking methods with the dynamic linker
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <dlfcn.h>
void
DESCRIPTIONDue to enhancements in the dynamic linker, this interface is
no longer needed. It is deprecated and will be removed from future releases.
In current releases it still exists, but only as a stub which does
nothing.
Threads packages can call The context argument specifies an opaque
context for creating locks. The dynamic linker will pass it to the
lock_create function when creating the locks it needs.
When the dynamic linker is permanently finished using the locking functions
(e.g., if the program makes a subsequent call to
The lock_create argument specifies a function for creating a read/write lock. It must return a pointer to the new lock. The rlock_acquire and wlock_acquire arguments specify functions which lock a lock for reading or writing, respectively. The lock_release argument specifies a function which unlocks a lock. Each of these functions is passed a pointer to the lock. The lock_destroy argument specifies a
function to destroy a lock. It may be Until SEE ALSOrtld(1), signal(3)HISTORYThedllockinit () function first appeared in
FreeBSD 4.0.
Visit the GSP FreeBSD Man Page Interface. |