Hi,
I want to encapsulate a C library that creates few POSIX pthread in a C++ class to use it with JUCE. Is it safe to mix JUCE’s synchronisation objects (critical section and mutexes) and such threads ?
Hi,
I want to encapsulate a C library that creates few POSIX pthread in a C++ class to use it with JUCE. Is it safe to mix JUCE’s synchronisation objects (critical section and mutexes) and such threads ?
Yes, totally safe - JUCE uses pthreads internally anyway, so it’s all doing the same thing.
Thanks for the information. Nothing prevents me from using JUCE now : “Hello world !”.