{"p":"","h":{"iv":"ROXSYW+cfvEbFHu5","at":"ocxplSQjdRC3tXEtB/9/wg=="}}

Thread safety tip: do not modify the configuration of a library via a singleton at runtime.

Example: MyCoolLib.config.timeout = 30;

This is almost always going to lead to a thread safety issue, most libraries are not design to do this on a per-thread basis.

3
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies