Hi Victor, I don't think it should be too big a deal for resources as the usage case scenario for multiple instances is that they will be hosted in another program (such as VST) and likely that the host itself will do output to a device and not Csound itself. At least, this is how I understand the case to be. steven On 5/2/05, Victor Lazzarini wrote: > Can't we move the statics into the IO dataspace we > are already using? > > Btw, if we want to run more than one csound instance in > one address space, would it mean that the several > instances would compete for IO resources? I can't > see that working on windows and OSX; if a driver is > open by one instance, another instance will not be > able to access it. We will need to have a way of sharing > these things. > > Re: merging I suggest that we merge the two and use the > pa_blocking code for windows/OSX only, and the writestream > blocking functions for Linux only. That way no new extra > command-line options are needed. > > Victor > > > > > Victor Lazzarini wrote: > > > > > pa_blocking.c already uses csound->Message(), we > > > can change rtpa.c as well, I think it's a good idea. > > > > Another issue is that rtpa.c/pa_blocking.c use static > > variables. This is not a problem as long as only one > > instance is running, but Csound5 is designed to allow > > multiple instances in the same address space (and that is > > very close to working now). > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. > > Get your fingers limbered up and give it your best shot. 4 > > great events, 4 opportunities to win big! Highest score > > wins.NEC IT Guy Games. Play to win an NEC 61 plasma > > display. Visit http://www.necitguy.com/?r=20 > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net