Threads Debugging Library Functions tdthrsleepinfo(3CDB)
NAME
tdthrsleepinfo - return the synchronization handle for the
object on which a thread is blocked
SYNOPSIS
cc [ flag... ] file... -lcdb [ library... ]
#include
#include
tderre tdthrsleepinfo(const tdthrhandlet *thp, tdsynchandlet *shp);
DESCRIPTION
The tdthrsleepinfo() function returns in *shp the handle
of the synchronization object on which a sleeping thread is
blocked.
RETURN VALUES
TDOK The call completed successfully.
TDBADTH An invalid thread handle was passed in.
TDBER A call to one of the imported interface routines
failed.
TDER The thread thp is not blocked on a synchroniza-
tion object, or 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
|