RTEMS 4.9.3 On-Line Library
Thread Manager pthread_equal - Compare Thread IDs
RTEMS POSIX API User's Guide
17.4.22: pthread_equal - Compare Thread IDs
CALLING SEQUENCE:
-
#include <pthread.h>
int pthread_equal(
pthread_t t1,
pthread_t t2
);
STATUS CODES:
- zero
-
The thread ids are not equal.
- non-zero
-
The thread ids are equal.
DESCRIPTION:
The pthread_equal
routine is used to compare two thread
IDs and determine if they are equal.
NOTES:
The behavior is undefined if the thread IDs are not valid.
RTEMS POSIX API User's Guide
Copyright © 1988-2008 OAR Corporation