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

Lstate
obtain thread handle state

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

int
Lstate(struct ps_lwphandle *L);

The Lstate() function returns the state of the thread handle L. The list of states is available in the libproc(3LIB).

Upon successful completion, the current state is returned.

Uncommitted

See LOCKING in libproc(3LIB).

libproc(3LIB)
May 11, 2016 OmniOS