Vincent Burel wrote:
----- Original Message ----- From: "Mike Berry" <mberry@xxxxxxxxx> To: <gmpi@xxxxxxxxxxxxx> Sent: Thursday, April 10, 2003 6:23 PM Subject: [gmpi] Re: multithreading host interface
I am in agreement here. I think that the documentation for every function should list the following:
1.) Can the function be simultaneously called by multiple threads?
i don't think it's necessary. the SET/GET_datas function can be called by one thread only (the GUI one) while the ProcessFonction is called in CriticalTime Thread.
2.) Can the function ever be serially called by more than one thread?
i don't think it's necessary. if an other Thread (than the GUI) wants to get or set data , we might provide another SET/GETfunctions. it's easier to go in this way than to design something where 5 threads can Get or Set context of the effect in the same time.
for example Get/Set for GUI port Get/Set for meter display port Get/Set for MIDI port Get/Set for ETHERNET port etc...
3.) Is the function time-critical? I.e., is it usually going to be called by a very high priority thread.
only the processing function i think.
-- Mike Berry Adobe Systems
---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.
Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe