LFREE(3PROC) Process Control Library Functions LFREE(3PROC)

NAME


Lfree - free a control handle to a thread

SYNOPSIS


Process Control Library (libproc, -lproc)
#include <libproc.h>

void
Lfree(struct ps_lwphandle *L);

DESCRIPTION


The Lfree() function releases all control resources associated with the
handle L. After Lfree(), calls to other libproc routines which leverage
information from the handle L will no longer work as the handle has been
invalidated.

The state of the thread controlled by L is not affected by the call to
Lfree(). The thread's state will not transition from running to stopped or
vice-versa. It will retain its state prior to the call to Lfree().

INTERFACE STABILITY


Uncommitted

MT-LEVEL
MT-Safe

SEE ALSO


libproc(3LIB), Lgrab(3PROC)

illumos May 11, 2016 illumos