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

Lfreefree a control handle to a thread

Process Control Library (libproc, -lproc)

#include <libproc.h>

void
Lfree(struct ps_lwphandle *L);

The () function releases all control resources associated with the handle L. After Lfree(), calls to other 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 (). 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)

November 27, 2023 OmniOS