[Omp] Thread's identification

Hoeflinger, Jay P jay.p.hoeflinger at intel.com
Mon May 9 13:22:24 PDT 2005


Yes, and if a thread is executing a parallel region, then encounters another parallel directive, it will start a new team and become thread 0 of the new team (regardless of its thread number on the outer region).

Jay

-----Original Message-----
From: Omp-bounces at openmp.org [mailto:Omp-bounces at openmp.org] On Behalf Of Patricia Bittencourt Sampaio
Sent: Monday, May 09, 2005 3:11 PM
To: Omp at openmp.org
Subject: [Omp] Thread's identification

 
  Hi list,

  The id obtained with omp_get_thread_num() is
intrinsically related with the parallel region, I mean
, one thread may have the same id from another one if
they are members of different parallel region groups,
is that correct?


regards,

Patrícia Bittencourt Sampaio
====================================
Federal University of Rio de Janeiro

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 

_______________________________________________
Omp mailing list
Omp at openmp.org
http://openmp.org/mailman/listinfo/omp_openmp.org




More information about the Omp mailing list