1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00
JUCE/modules/juce_core/native
reuk 84be2fea9a
IPC: Avoid deadlocks when destroying pipes
Previously, calls to `open` blocked when creating a writeable pipe.

This could cause other calls to block indefinitely, waiting for the pipe
to become available.

Now, we open the pipe in nonblocking mode, which allows us to retry
indefinitely, checking `stopReadOperation` each time to find out whether
`close` has been called and allowing a graceful exit.
2020-11-16 20:14:16 +00:00
..
java Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
javacore Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
juce_android_Files.cpp Updated all license headers 2020-04-23 17:30:39 +01:00
juce_android_JNIHelpers.cpp Normalised all whitespace before args in std::function 2020-06-05 09:37:49 +01:00
juce_android_JNIHelpers.h Normalised all whitespace before args in std::function 2020-06-05 09:37:49 +01:00
juce_android_Misc.cpp Updated all license headers 2020-04-23 17:30:39 +01:00
juce_android_Network.cpp Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
juce_android_RuntimePermissions.cpp Updated all license headers 2020-04-23 17:30:39 +01:00
juce_android_SystemStats.cpp Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
juce_android_Threads.cpp Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
juce_BasicNativeHeaders.h FileChooser: Fix build compatibility issue with MinGW 2020-10-26 11:01:32 +00:00
juce_curl_Network.cpp Updated all license headers 2020-04-23 17:30:39 +01:00
juce_linux_CommonFile.cpp Updated all license headers 2020-04-23 17:30:39 +01:00
juce_linux_Files.cpp Updated all license headers 2020-04-23 17:30:39 +01:00
juce_linux_Network.cpp Cleanup: Fix some warnings 2020-04-27 10:22:06 +01:00
juce_linux_SystemStats.cpp Linux: Fix some cast warnings 2020-09-24 12:52:45 +01:00
juce_linux_Threads.cpp Updated all license headers 2020-04-23 17:30:39 +01:00
juce_mac_ClangBugWorkaround.h Updated all license headers 2020-04-23 17:30:39 +01:00
juce_mac_Files.mm macOS: Initial support for macOS 11 and arm64 2020-07-08 09:58:00 +01:00
juce_mac_Network.mm Updated all license headers 2020-04-23 17:30:39 +01:00
juce_mac_Strings.mm Updated all license headers 2020-04-23 17:30:39 +01:00
juce_mac_SystemStats.mm SystemStats: Use new dictionaryWithContentsOfURL signature 2020-10-29 15:53:33 +00:00
juce_mac_Threads.mm Updated all license headers 2020-04-23 17:30:39 +01:00
juce_osx_ObjCHelpers.h macOS: Use objc_msgSendSuper_stret() for return types > 8 bytes in 32-bit builds 2020-11-03 09:46:18 +00:00
juce_posix_IPAddress.h GCC: Suppress cast-align warnings 2020-09-24 12:52:45 +01:00
juce_posix_NamedPipe.cpp IPC: Avoid deadlocks when destroying pipes 2020-11-16 20:14:16 +00:00
juce_posix_SharedCode.h Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
juce_win32_ComSmartPtr.h Windows: Added ComSmartPtr::getInterface() and used it in a few places to simplify some COM code 2020-09-07 16:01:48 +01:00
juce_win32_Files.cpp MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
juce_win32_Network.cpp MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
juce_win32_Registry.cpp MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
juce_win32_SystemStats.cpp macOS: Remove older macOS versions from OperatingSystemType enum 2020-08-24 17:11:32 +01:00
juce_win32_Threads.cpp Windows: Use Thread::sleep() instead of yield() when waiting for ChildProcess output to avoid eating CPU 2020-11-11 17:38:51 +00:00