LFREE(3PROC) Process Control Library Functions LFREE(3PROC)
Lfree - free a control handle to a thread
Process Control Library (libproc, -lproc)
#include <libproc.h>
void
Lfree(struct ps_lwphandle *L);
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().
Uncommitted
MT-LEVEL
MT-Safe
libproc(3LIB), Lgrab(3PROC)
illumos November 27, 2023 illumos
NAME
Lfree - free a control handle to a thread
LIBRARY
Process Control Library (libproc, -lproc)
SYNOPSIS
#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 November 27, 2023 illumos