Browse Source

Do not set PTHREAD_PRIO_INHERIT for ARM builds

Signed-off-by: falkTX <falktx@falktx.com>
v6.0.8-distrho
falkTX 1 year ago
parent
commit
482f9d0a7e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/native/juce_posix_SharedCode.h

+ 1
- 1
modules/juce_core/native/juce_posix_SharedCode.h View File

@@ -28,7 +28,7 @@ CriticalSection::CriticalSection() noexcept
pthread_mutexattr_t atts;
pthread_mutexattr_init (&atts);
pthread_mutexattr_settype (&atts, PTHREAD_MUTEX_RECURSIVE);
#if ! JUCE_ANDROID
#if ! JUCE_ANDROID && ! JUCE_ARM
pthread_mutexattr_setprotocol (&atts, PTHREAD_PRIO_INHERIT);
#endif
pthread_mutex_init (&lock, &atts);


Loading…
Cancel
Save