Threads Debugging Library Functions tdthrvalidate(3CDB)
NAME
tdthrvalidate - test a thread handle for validity
SYNOPSIS
cc [ flag... ] file... -lcdb [ library... ]
#include
#include
tderre tdthrvalidate(const tdthrhandlet *thp);
DESCRIPTION
The tdthrvalidate() function tests whether thp is a valid
thread handle. A valid thread handle can become invalid if
its thread exits.
RETURN VALUES
TDOK The call completed successfully. thp is a
valid thread handle.
TDBADTH thp was NUL.
TDBER A call to one of the imported interface routines
failed.
TDNOTHR thp is not a valid thread handle.
TDER A libcdb internal error occurred.
ATRIBUTES
See attributes(5) for description of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Safe
SEE ALSO
libcdb(3LIB), attributes(5)
SunOS 5.11 Last change: 20 Oct 1998 1
|