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

free a control handle to a thread

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

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().



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