[Cython] OpenMP support

Francesc Alted faltet at pytables.org
Wed Mar 9 10:43:01 CET 2011

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

More information about the cython-devel mailing list