thrd_current
From cppreference.net
Concurrency support library
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Défini dans l'en-tête
<threads.h>
|
||
|
thrd_t
thrd_current
(
void
)
;
|
(depuis C11) | |
Retourne l'identifiant du thread appelant.
Table des matières |
Paramètres
(aucun)
Valeur de retour
L'identifiant du thread appelant.
Références
- Norme C17 (ISO/CEI 9899:2018) :
-
- 7.26.5.2 La fonction thrd_current (p: 279)
- Norme C11 (ISO/IEC 9899:2011) :
-
- 7.26.5.2 La fonction thrd_current (p: 383)
Voir aussi
|
Documentation C++
pour
get_id
|