THRD_EQUAL(3C) Standard C Library Functions THRD_EQUAL(3C)
NAME
thrd_equal - determine if threads are equal
SYNOPSIS
#include <threads.h> int thrd_equal(
thrd_t thrd0,
thrd_t thrd1);
DESCRIPTION
The
thrd_equal() function compares
thrd0 and
thrd1 and determines
whether or not they refer to the same thread.
RETURN VALUES
The
thrd_equal() function returns
non-zero if
thrd0 and
thrd1 refer to
the same thread. Otherwise,
0 is returned, indicating that
thrd0 and
thrd1 are different threads.
INTERFACE STABILITY
StandardMT-LEVEL MT-SafeSEE ALSO
attributes(7),
threads(7)illumos January 19, 2017 illumos