_lwp_setprivate(2)
NAME
_lwp_setprivate, _lwp_getprivate - set or get LWP specific
storage
SYNOPSIS
#include <sys/lwp.h>
void _lwp_setprivate(void *buffer);
void *_lwp_getprivate(void);
DESCRIPTION
The _lwp_setprivate() function stores the value specified
by buffer in LWP-private memory that is unique to the cal-
ling LWP. This is typically used by thread library implemen-
tations to maintain a pointer to information about the
thread currently running on the calling LWP.
The _lwp_getprivate() function returns the value stored in
LWP-private memory.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Obsolete |
|_____________________________|_____________________________|
| MT-Level | Async-Signal-Safe |
|_____________________________|_____________________________|
SEE ALSO
_lwp_makecontext(2), attributes(5)
NOTES
The _lwp_setprivate() and _lwp_getprivate() functions are
obsolete and will be removed in a future release.
Man(1) output converted with
man2html