Date: Wed, 27 Dec 2017 18:46:40 +0100
From: Christian Schmitz 
<supp...@monkeybreadsoftware.de<mailto:supp...@monkeybreadsoftware.de>>
Subject: Re: [MBS] Main Thread UI Blocking MIDI Plugins

Am 27.12.2017 um 17:54 schrieb Julia Truchsess 
<ju...@pragmaticdesigns.com<mailto:ju...@pragmaticdesigns.com>>:
I have a longstanding problem in my MIDI apps, which is that UI activities like 
dragging a window cause MIDI communication to stop.


One of the more interesting proposals in the forum thread is that of a faceless 
helper application that runs entirely separately, maybe I’ll look into that 
more closely unless anyone has a better idea.

Well, you need to make sure the main loop runs, so don’t block it with message 
box and similar things.

It’s my understanding that if running on a multi-core processor machine, a 
helper app will run on its own core and be unaffected by the main loop of the 
main application. Is that not correct? The helper app would handle all the 
low-level timing-critical protocol stuff and the main app would retrieve 
results via IPCSocket whenever it’s able to.

Thanks,
Julia
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to