総合手引
セクション 3
ジャンプ:
English
オプション
manページ — PTHREAD_COND_BROADCAST
名称
pthread_cond_broadcast
– 条件変数を待っている全てのスレッドのブロック解除
内容
ライブラリ
書式
解説
戻り値
エラー
関連項目
規格
ライブラリ
Reentrant C\~Library (libc_r, -lc_r)
書式
#include <pthread.h>
int
pthread_cond_broadcast
(pthread_cond_t *cond)
;
解説
pthread_cond_broadcast
()
関数は、条件変数
cond
を待っている全てのスレッドのブロックを解除します。
戻り値
問題がない場合は、
pthread_cond_broadcast
()
関数は 0 を返します。 問題がある場合は、そのエラーを示すためにエラー番号が返されます。
エラー
pthread_cond_broadcast
()
は以下の場合に失敗します。
[
EINVAL
]
cond
によって指定された値が無効です。
関連項目
pthread_cond_destroy(3)
,
pthread_cond_init(3)
,
pthread_cond_signal(3)
,
pthread_cond_timedwait(3)
,
pthread_cond_wait(3)
規格
pthread_cond_broadcast
()
は
IEEE Std 1003.
1-96 ("
POSIX.
1") に適合しています。
PTHREAD_COND_BROADCAST (3)
July 28, 1998
総合手引
セクション 3
ジャンプ:
English
オプション
Copyright:
The
copyright notice of this manual page is here
(plain text).
このマニュアルページサービスについてのご意見は
Ben Bullock
にお知らせください。
Privacy policy
.