RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Thread Manager pthread_equal - Compare Thread IDs

PREV UP NEXT Bookshelf 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.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation