Thread support library
提供:cppreference.com
< c
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
マクロ定数
__STDC_NO_THREADS__(C11)がコンパイラによって定義されている場合、ヘッダー<threads.h>、ここに記載された名前のすべてが提供されていません.Original:
If the macro constant
__STDC_NO_THREADS__(C11) is defined by the compiler, the header <threads.h> and all of the names listed here are not provided.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] スレッド
| Defined in header
<threads.h> | |
thrd_t
|
スレッドを識別するタイプ
Original: a type identifying a thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| (C11) |
スレッドを作成します Original: creates a thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
チェックの2つの識別子が同じスレッドを参照している場合 Original: checks if two identifiers refer to the same thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
現在のスレッドの識別子を取得します Original: obtains the current thread identifier The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
決められた時間に、呼び出し元のスレッドの実行を中断します Original: suspends execution of the calling thread for the given period of time The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
yields the current time slice (機能) |
| (C11) |
呼び出し元のスレッドを終了させます 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. (機能) |
| (C11) |
スレッドをデタッチします 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. (機能) |
| (C11) |
ブロックは、スレッドが終了するまで Original: blocks until a thread terminates The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| スレッドエラーの状態を示します Original: indicates a thread error status The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (定数) | |
| thrd_start_t (C11) |
thrd_createに渡される関数ポインタ型 Original: function pointer type passed to thrd_create The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedefです) |
[編集] 相互排除
| Defined in header
<threads.h> | |
mtx_t
|
ミューテックス識別子
Original: mutex identifier The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| (C11) |
ミューテックスを作成します Original: creates a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
ロックミューテックスまでブロック Original: blocks until locks a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
ロックアウトミューテックスまたはタイムアウトするまでブロックします Original: blocks until locks a mutex or times out The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
既にロックされている場合はブロックせずに、ミューテックスをロックするか、または返します Original: locks a mutex or returns without blocking if already locked The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
ミューテックスのロックを解除します Original: unlocks a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
ミューテックスを破棄します Original: destroys a mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C++11) (C++11) (C++11) |
ミューテックスのタイプを定義します Original: defines the type of a mutex 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. | |
once_flag
|
the type of the flag used by call_once |
| (C11) |
once_flagを初期化します Original: initializes a once_flag The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| (C11) |
まさに一度関数を呼び出します Original: calls a function exactly once 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> | |
cnd_t
|
条件変数の識別子
Original: condition variable identifier The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| (C11) |
条件変数を作成します Original: creates a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
条件変数でブロックされている一つのスレッドのブロックを解除 Original: unblocks one thread blocked on a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
条件変数でブロックされていたすべてのスレッドのブロックを解除します Original: unblocks all threads blocked on a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
条件変数上のブロック Original: blocks on a condition variable The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
タイムアウト付き条件変数でブロック Original: blocks on a condition variable, with a timeout The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
条件変数を破棄します Original: destroys a condition variable 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> | |
| (C11) |
スレッドローカル型のマクロ Original: thread local type macro The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
tss_t
|
スレッド固有のストレージ·ポインター
Original: thread-specific storage pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| (C11) |
回デストラクタの最大数は呼ばれています Original: maximum number of times destructors are called The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
tss_dtor_t
|
function pointer type used for TSS destructor |
| (C11) |
creates thread-specific storage pointer with a given destructor (機能) |
| (C11) |
スレッド固有のストレージから読み取ります Original: reads from thread-specific storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
スレッド固有の記憶域に書き込む Original: write to thread-specific storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C11) |
指定されたスレッド固有のポインタに保持されているリソースを解放します Original: releases the resources held by a given thread-specific pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |