[Omp] Persistency of threads among parallel regions
Patricia Bittencourt Sampaio
patricourt at yahoo.com.br
Thu Jun 15 13:11:41 PDT 2006
Hi,
Sorry if I am sending too much messages but as you might see I have some critical doubts concerning the behave of openmp programs. First of all thanks for the last replies.
When reading about threadprivate variables I realized that the threads of a parallel region just like their copies of threadprivate variables exist after the end of the region, they are just suspendded, considering a program with multiple parallel regions. Is this also trueth, I mean the fact that the threads are not destroyed and reengaged in a subsequent parallel region, even in the
absence of threadprivate variables? (1)
What about the local instances of shared variables that each thread have as were one of the points related to the last email I have sent to the list. They remain among the parallel regions that exist in a program or are destroiyed with the end up of a parallel region and recreated at the beginning of anouther as it happens with the copies of private variables of a parallel region? (2)
Finally, in such scenario, is Openmp in accordance with an SPMD style where someones identifies a mandatory feature as being the persistence of the contexts of the threads (including their copies of private and shared data) for the entire program from the beginning to the end? Perhaps this accordance is
not in its entirety but at a granularity of a parallel region, I am not sure. (3)
regards,
Patricia Bittencourt Sampaio
==========================
Federal University of Rio de Janeiro
---------------------------------
Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openmp.org/pipermail/omp/attachments/20060615/961d0bc9/attachment.html
More information about the Omp
mailing list