tail head cat sleep
QR code linking to this page

manページ  — PTHREAD_EQUAL

名称

pthread_equal – スレッド ID の比較

内容

ライブラリ

Reentrant C\~Library (libc_r, -lc_r)

書式

#include <pthread.h>

int
pthread_equal(pthread_t t1, pthread_t t2);

解説

pthread_equal() 関数は、 t1 および t2 のスレッド ID を比較します。

戻り値

pthread_equal() 関数は、 t1 および t2 のスレッド ID が同じスレッドに相当する場合には非 0 を返し、 そうでない場合には 0 を返します。

エラー

ありません。

関連項目

pthread_create(3), pthread_exit(3)

規格

pthread_equal()IEEE Std 1003.1-96 ("POSIX.1") に適合しています。

PTHREAD_EQUAL (3) April 4, 1996

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

UNIX has been evolving feverishly for close to 30 years, sort of like bacteria in a cesspool — only not as attractive
— John Levine, "Unix for Dummies"