Login  Register

Thread Safe Quantlib

Posted by Subramaniam V on Jun 06, 2016; 2:49am
URL: http://quantlib.414.s1.nabble.com/Thread-Safe-Quantlib-tp17499.html

hi

Has somebody tried using latest Quantlib 1.7 in multithreaded environment in C++?
I am confused as to if it is threadsafe, (assuming I am using Boost 1.58) with the .configure option (as specified in https://sourceforge.net/projects/quantlib/files/QuantLib/1.7/).

Another web page at
https://hpcquantlib.wordpress.com/2013/07/26/multi-threading-and-quantlib/
talks about thread safety only with thread local singleton pattern.

I am slightly confused, is the latest version(1.7) thread safe without using thread local singleton patten? or do we still need to use the thread local singleton pattern.

Any other insights into thread safety would be greatly welcome.

Thank you!

--
Subramaniam

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users