[Omp] A problem with guard objects and exceptions on Intel

Michael Suess mike_ml at suessnetz.de
Fri Aug 25 14:09:50 PDT 2006


On Friday 25 August 2006 19:17, Haab, Grant wrote:
> Michael,
>
> I forgot to mention that I think your guard idea on the web site you
> mentioned is very interesting. I really like the idea that you can use
> these guards for exception-safe "critical sections" that get
> automatically unlocked when an exception is thrown outside of "scope" of
> the construct.
[snip - old mail]

Hi Grant,

unfortunately the idea of scoped locking is not mine, but can be found in many 
textbooks on concurrent programming in C++ ;-). All I did was apply it to 
OpenMP and think through how it compares with our own critical-directive. 
Just wanted to mention this in case it was misunderstood...

Thanks for checking out the article anyways,
best regards,
Michael

-- 
My blog on parallel programming: http://www.thinkingparallel.com
Michael Suess
Public PGP key: http://www.suessnetz.de/michael/michaelsuess.gpg
PGP key fingerprint: A744 AFBA CA93 620B 8701 AB98 D4CF 4F3C 945A 61FE


More information about the Omp mailing list