Browse Source

Do not set PTHREAD_PRIO_INHERIT for ARM builds

Signed-off-by: falkTX <falktx@falktx.com>
v7.0.9-distrho
falkTX 11 months ago
parent
commit
76a3420460
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_SharedCode_posix.h

+ 1
- 1
modules/juce_core/native/juce_SharedCode_posix.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