------- Comment #1 from bkoz at gcc dot gnu dot org  2007-10-30 05:47 -------

Patch posted here:
http://gcc.gnu.org/ml/gcc-patches/2007-10/msg01456.html

This stuff looks pretty good to me: Jakub?

The only comment I would have is that this looks strikingly like the
scoped_lock idiom on a omp_lock_t. Turning this into a __gnu_cxx::scoped_lock
would mean a higher likelihood of exception-safe usage.

That could always be a follow-on patch.

-benjamin


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33892

Reply via email to