1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-19 17:40:15 +02:00

Add to comment about thread-safety.

This commit is contained in:
v.audacity 2013-10-09 05:03:42 +00:00
parent f1bd685c55
commit cf6a0817f6

View File

@ -698,6 +698,8 @@ bool EffectNyquist::Process()
//
// MB: setlocale is not thread-safe. Should use uselocale()
// if available, or fix libnyquist to be locale-independent.
// See also http://bugzilla.audacityteam.org/show_bug.cgi?id=642#c9
// for further info about this thread safety question.
wxString prevlocale = wxSetlocale(LC_NUMERIC, NULL);
wxSetlocale(LC_NUMERIC, wxT("C"));