_lwp_setprivate(2) _lwp_setprivate(2)
NAME
_lwp_setprivate - set LWP-specific reference
SYNOPSIS
#include <sys/lwp.h>
void _lwp_setprivate(void *buffer);
Parameters
buffer
value of the LWP-specific pointer
DESCRIPTION
_lwp_setprivate sets the lightweight process (LWP)-specific
descriptor pointer to buffer.
Return Values
_lwp_setprivate sets the value of the LWP-specific pointer.
Errors
None. Errors will be detected only when subsequently using
the value of buffer.
USAGE
The per-LWP pointer value is intended to be used as a pointer
to an implementation-defined datum.
REFERENCES
_lwp_create(2), _lwp_getprivate(2), thr_setspecific(3thread)
NOTICES
Lightweight processes (LWPs) are internal interfaces and are
subject to change. Their use should be avoided.
Copyright 1994 Novell, Inc. Page 1