A Tuesday 08 March 2011 18:02:13 Sturla Molden escrigué: > Den 08.03.2011 17:33, skrev mark florisson: > > With OpenMP code, exactly how common are exceptions and error > > handling? > > Error handling is always needed, but OpenMP does not help with this. > > One can use an integer variable as error flag, and use an atomic > write in case of error.
Yeah. I use exactly this technique for tracking errors in threaded code. It is a bit messy, but when done correctly, it works great. -- Francesc Alted _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel