DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
PRINT BOOK
_lwp_setprivate(S)
_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
(S)
,
_lwp_getprivate
(S)
,
thr_setspecific
(THREAD)
Notices
Lightweight processes (LWPs) are internal interfaces and are subject to change. Their use should be avoided.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005