mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 00:51:21 +01:00
Add to comment about thread-safety.
This commit is contained in:
@@ -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"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user