Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

_lwp_makecontext(2)

_lwp_setprivate(2)

NAME

_lwp_setprivate, _lwp_getprivate − set/get LWP specific storage

SYNOPSIS

#include <sys/lwp.h>

void _lwp_setprivate(void ∗buffer);

void ∗_lwp_getprivate(void);

DESCRIPTION

The function _lwp_setprivate() stores the value specified by buffer in LWP-private memory that is unique to the calling LWP.  This is typically used by thread library implementations to maintain a pointer to information about the thread currently running on the calling LWP. 

The function _lwp_getprivate() returns the value stored in LWP-private memory. 

SEE ALSO

_lwp_makecontext(2)

SunOS 5.5/SPARC  —  Last change: 30 Jul 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026