Re: Bootsrapping and multithreading

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Bootsrapping-and-multithreading-tp6026p6029.html

On Tue, 2008-05-13 at 06:36 -0700, moloko wrote:
> I know that Settings::instance().evaluationDate() inherit from a Singleton.
> When we bootstrapp a curve, each instrument is calling
> instance().evaluationDate(). Do you think it could also make some problems ?

If it's just to read the evaluation date, it shouldn't be a problem. If
you want to set it, you'll probably want to enable sessions so that you
have a different evaluation date for each thread.

Luigi


--

Academic: a term of opprobrium applied to those that do their job well
by those who cannot.
-- Sir Ernest Gowers



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users