|
From: Luigi B. <lui...@gm...> - 2023-01-17 12:09:21
|
Hello Roberto,
no, it's still a bad idea to share objects between threads. Like in
previous releases, the Settings class and other singletons can be
per-thread instead of globals depending on a configuration switch, but the
code in itself is not multi-threaded. What changed is only that, in order
to enable per-thread singletons, you no longer need to explicitly define
the sessionId function. It's a convenience.
Hope this helps,
Luigi
On Tue, Jan 17, 2023 at 12:14 PM Roberto Cocchi <
rob...@so...> wrote:
> Hi sorry a question:
>
> - *End of support:* as announced in the notes for the previous
> release, this release no longer manages thread-local singletons via a
> user-provided sessionId function, and therefore the latter is no
> longer needed. Instead, the code now uses the built-in language support for
> thread-local variables. Thanks go to Peter Caspers.
>
> Does this mean QL is fully MultiThreaded?
>
> Thanks
> Roberto
> ------------------------------
> *From: *"luigi ballabio" <lui...@gm...>
> *To: *"QuantLib-users" <qua...@li...>, "QuantLib
> developers" <qua...@li...>, "QuantLib announce" <
> qua...@li...>
> *Sent: *Tuesday, 17 January, 2023 11:23:37
> *Subject: *[Quantlib-users] QuantLib 1.29 released
>
> QuantLib 1.29 has been released and is available for download at <
> https://www.quantlib.org/download.shtml
> <https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.quantlib.org%2Fdownload.shtml&e=4ea62f8f&h=232ff9de&f=y&p=n>
> >.
>
> The list of changes for this release is at <
> https://www.quantlib.org/reference/history.html
> <https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.quantlib.org%2Freference%2Fhistory.html&e=4ea62f8f&h=808f169d&f=y&p=n>
> >.
>
> If you have any problems with this release, please report them here on the
> QuantLib mailing list (<qua...@li...>), or open a
> GitHub issue at <https://github.com/lballabio/quantlib/issues
> <https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2Flballabio%2Fquantlib%2Fissues&e=4ea62f8f&h=281f3799&f=y&p=n>
> >.
>
>
> --
> EXTERNAL E-MAIL. Message from outside of SoftSolutions! Do not click
> links or download/open attachments unless you trust the sender and believe
> the content is safe.
>
>
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
>
> https://urlsand.esvalabs.com/?u=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fquantlib-users&e=4ea62f8f&h=2a391e00&f=y&p=n
>
>
>
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
|