> On Oct 27, 2021, at 5:29 AM, Jonathan Brady via live-devel > <live-de...@us.live555.com> wrote: > > • On Windows setlocale is not thread safe > • > https://social.msdn.microsoft.com/Forums/windowsserver/en-US/b46aa226-d337-43c3-8d15-135f6fca9b53/setlocale-behavior-in-multithreaded-applications?forum=vcgeneral > • It hasn't been thread safe since Visual C++ 2012. > • https://www.tolon.co.uk/2014/10/beware-setlocale/
Thanks for the info. Although we can try to make our code safe to run in multiple threads, there’s not a lot we can do if an underlying language runtime library or OS call is not thread safe. Another reason to avoid threads, if possible. Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel