Browse Source

Do not set PTHREAD_PRIO_INHERIT for ARM builds

Signed-off-by: falkTX <falktx@falktx.com>
pull/117/head
falkTX 1 year ago
parent
commit
604626b1a4
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      libs/juce5/source/modules/juce_core/native/juce_posix_SharedCode.h
  2. +1
    -1
      libs/juce6.0/source
  3. +1
    -1
      libs/juce6.1/source/modules/juce_core/native/juce_posix_SharedCode.h

+ 1
- 1
libs/juce5/source/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);


+ 1
- 1
libs/juce6.0/source

@@ -1 +1 @@
Subproject commit a3ae7b1c75b9539caad0e447371f7f6e1f0eaf42
Subproject commit 482f9d0a7e22cf07ebdde9a0de49e2a6d54670cd

+ 1
- 1
libs/juce6.1/source/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