Browse Source

Allow CarlaMutex to be constructed on the heap

tags/v1.9.9
falkTX 6 years ago
parent
commit
008f3383ef
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      source/utils/CarlaMutex.hpp

+ 0
- 2
source/utils/CarlaMutex.hpp View File

@@ -97,7 +97,6 @@ private:
mutable pthread_mutex_t fMutex;
mutable volatile bool fTryLockWasCalled; // true if "tryLock()" was called at least once

CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPY_CLASS(CarlaMutex)
};

@@ -185,7 +184,6 @@ private:
mutable pthread_mutex_t fMutex;
#endif

CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPY_CLASS(CarlaRecursiveMutex)
};



Loading…
Cancel
Save