Re: Money class...

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/SWIG-problem-with-asian-options-tp1502p1507.html


On Thu, 2007-11-01 at 14:06 +0000, Toyin Akin wrote:
>         Hi Luigi,
>         Any chance of refactoring the Money class so that there isn't
>         any static members?
>         This class is not safe within a multi-threaded environment.

Hmm. They could go into the Settings class---this way, one could at
least define QL_ENABLE_SESSIONS and have one copy per thread. Are you
willing to have a try at it?

Later,
        Luigi


--

I've finally learned what `upward compatible' means. It means we
get to keep all our old mistakes.
-- Dennie van Tassel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users