cppreference.com
アカウント作成
ログイン
名前空間
ページ
議論
変種
表示
閲覧
編集
履歴
操作
thrd_current
提供: cppreference.com
<
c
|
thread
C
言語
ヘッダ
型サポート
プログラムユーティリティ
可変長引数サポート
エラー処理
動的メモリ管理
日付と時間のユーティリティ
文字列ライブラリ
アルゴリズム
数値演算
入出力サポート
ローカライゼーションサポート
アトミック操作
(C11)
スレッドサポート
(C11)
技術仕様書
[edit]
スレッドサポートライブラリ
スレッド
thrd_create
thrd_equal
thrd_current
thrd_sleep
thrd_yield
thrd_exit
thrd_detach
thrd_join
thrd_success
thrd_timedout
thrd_busy
thrd_nomem
thrd_error
相互排他
mtx_init
mtx_lock
mtx_timedlock
mtx_trylock
call_once
mtx_unlock
mtx_destroy
mtx_plain
mtx_recursive
mtx_timed
条件変数
cnd_init
cnd_signal
cnd_broadcast
cnd_wait
cnd_timedwait
cnd_destroy
スレッドローカルストレージ
thread_local
TSS_DTOR_ITERATIONS
tss_create
tss_get
tss_set
tss_delete
[edit]
ヘッダ
<threads.h>
で定義
thrd_t
thrd_current
(
void
)
;
(C11以上)
呼び出し元スレッドの識別子を返します。
目次
1
引数
2
戻り値
3
参考文献
4
関連項目
[
編集
]
引数
(なし)
[
編集
]
戻り値
呼び出し元スレッドの識別子。
[
編集
]
参考文献
C11 standard (ISO/IEC 9899:2011):
7.26.5.2 The thrd_current function (p: 383)
[
編集
]
関連項目
get_id
の
C++リファレンス