mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Handle mutual recursion on plugin side globally
This makes much more sense, since all plugin instances will be sharing a single GUI thread. What would happen was that resize calls from one instance and GUI thread function calls from another instance would collide. Using a single shared mutual recursion mechanism (just like on the Wine side) fixes this.
This commit is contained in:
@@ -74,7 +74,7 @@ Lastly there are a few specific situations where the above two issues of mutual
|
||||
recursion and functions that can only be called from a single thread are
|
||||
combined. In those cases we need to the send over the socket on a new thread, so
|
||||
that the calling thread can handle other tasks through another IO context. See
|
||||
`Vst3PlugViewProxyImpl::send_mutually_recursive_message()` and
|
||||
`Vst3HostBridge::send_mutually_recursive_message()` and
|
||||
`Vst3Bridge::send_mutually_recursive_message()` for the actual implementation
|
||||
with more details. This applies to the functions related to resizing VST3
|
||||
editors on both the Linux and the Wine sides.
|
||||
|
||||
Reference in New Issue
Block a user