« Return to Thread: Bootsrapping and multithreading

Re: Bootsrapping and multithreading

by Luigi Ballabio :: Rate this Message:

Reply to Author | View in Thread

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
QuantLib-users@...
https://lists.sourceforge.net/lists/listinfo/quantlib-users

 « Return to Thread: Bootsrapping and multithreading

LightInTheBox - Buy quality products at wholesale price