名前空間
変種
操作

thrd_success, thrd_timedout, thrd_busy, thrd_nomem, thrd_error

提供: cppreference.com
< c‎ | thread
ヘッダ <threads.h> で定義
enum {

    thrd_success = /* unspecified */,
    thrd_nomem = /* unspecified */,
    thrd_timedout = /* unspecified */,
    thrd_busy = /* unspecified */,
    thrd_error = /* unspecified */

};
(C11以上)

スレッドの状態およびエラーを表します。

定数 説明
thrd_success 成功の戻り値を表します
thrd_timedout タイムアウトした戻り値を表します
thrd_busy リソースが一時的に利用可能でないことによる失敗の戻り値を表します
thrd_nomem メモリ不足の状況による失敗の戻り値を表します
thrd_error 失敗の戻り値を表します

[編集] 関連項目

  • C11 standard (ISO/IEC 9899:2011):
  • 7.26.1/5 thrd_success, thrd_timedout, ... (p: 377)