名前空間
変種
操作

thread_join

提供: cppreference.com
< c‎ | thread

 
 
スレッドのサポートライブラリ
スレッド
Original:
Threads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
相互排除
Original:
Mutual exclusion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
一度呼び出します
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
条件変数
Original:
Condition variables
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
スレッドローカルストレージ
Original:
Thread-local storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Defined in header <threads.h>
int thrd_join( thrd_t thr, int *res );
(C11以来)
現在のスレッドのブロックthrによって識別されるスレッドの実行が終了するまで.
Original:
Blocks the current thread until the thread identified by thr finishes execution.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
スレッドの結果コードはresによって指される場所に置かれた.
Original:
The result code of the thread is put to the location pointed to by res.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

thr -
参加するためのスレッドの識別子
Original:
identifier of the thread to join
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
res -
に結果コードを置く場所
Original:
location to put the result code to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

thrd_success成功した場合、thrd_errorその他のとき.
Original:
thrd_success if successful, thrd_error otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] も参照してください

スレッドをデタッチします
Original:
detaches a thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(機能) [edit]
呼び出し元のスレッドを終了させます
Original:
terminates the calling thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(機能) [edit]