Login  Register

Re: Multithreading and LazyObject

Posted by mkuklik on Jul 22, 2014; 11:55am
URL: http://quantlib.414.s1.nabble.com/Multithreading-and-LazyObject-tp15310p15631.html

Hey there,

Have you considered using CRITICAL directive in OpenMP? Basically, it specifies a region of code that must be executed by only one thread at a time.

Cheers,

mk