Skip to content

Latest commit

 

History

History
53 lines (48 loc) · 1.12 KB

omp-get-thread-num.md

File metadata and controls

53 lines (48 loc) · 1.12 KB
title omp_get_thread_num | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
omp_get_thread_num
dev_langs
C++
helpviewer_keywords
omp_get_thread_num OpenMP function
ms.assetid b9cd4f53-afc5-4980-85c4-e21c9cd378e3
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

omp_get_thread_num

Returns the thread number of the thread executing within its thread team.

Syntax

int omp_get_thread_num( );  

Remarks

For more information, see 3.1.4 omp_get_thread_num Function.

Example

See parallel for an example of using omp_get_thread_num.

See Also

Functions