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-Safe

libproc(3LIB), Lgrab(3PROC)
May 11, 2016 OmniOS