I am using Max/MSP 4.5.6 to build a multithreaded external control for use in a VST plug-in. I am developing under OS X 10.4.3 and am targeting OS X initially, but hope to eventually build a Windows XP version as well.
While I have had some initial success, I am running into issues on busy systems that I suspect are priority related. I can find no documentation for the priority and flag parameters for systhread_create. Is there some documentation that I have missed? I would like to set the thread priority high enough to ensure a timely entry after being woken by my perform routine.
In addition, I would like to exec an external program when initializing my class. Is this possible? Final question, is it possible to know the name used in Protools for the channel in which my plugin is inserted?