pthread_equal(3thr)

pthread_equal3thr

Compare two thread identifiers

Usage

#include <pthread.h>

int pthread_equal(pthread_t thread1, pthread_t thread2);

Overview

pthread_equal determines if two thread identifiers refer to the same thread.

Return value

A non-zero value is returned if thread1 and thread2 refer to the same thread. Otherwise, 0 is returned.

Releases

Unchanged in 4 releases since Debian 1.3 (Bo).

  1. 1.3–2.2

Author

Xavier Leroy <[email protected]>

From glibc-doc 2.1.3-20 in Debian 2.2 (Potato). Parsed by carta from the page's man source.