I'm not sure that would work. It has to do not with the chain of note instances so much as the chain of opcodes, which labels are inserted into.... Hmm... actually, I might very well be all wrong about this! I just looked at OOps/goto_ops.c and there is no use of currevt. currevt however is used in OOps/schedule.c and OOps/str_ops.c, and that will need to be redone so as not to require that. (also found in Opcodes/nlfit.c, Opcodes/pitch0.c, Opcodes/scansynx.c, and some files in Engine). On Tue, Aug 12, 2008 at 6:49 PM, Michael Gogins wrote: > Would it work to have one list, but each instance has a thread number? Each thread can just skip the instances that don't belong to it. That might save time in allocating instances to threads too. > > Does this make any sense? > > Regards, > Mike > > -----Original Message----- >>From: Steven Yi >>Sent: Aug 12, 2008 9:34 PM >>To: Michael Gogins , Developer discussions >>Cc: Csound >>Subject: Re: [Cs-dev] Multi threading >> >>I don't know about the odd number instances, but we definitely need to >>redo goto's as well as the opcodes are linked in a single-linked list >>and only can find labels by using the global CURREVT (I think that's >>the name) for the currently processed note, which won't work. (Just >>wanted to remind of that.) >> >>On Tue, Aug 12, 2008 at 6:31 PM, Michael Gogins wrote: >>> I thought there was a problem running multiple threads in Csound when there are odd numbers of instrument instances, but I don't see it. >>> >>> Could somebody remind me what the problem was, or email an orchestra/score that reproduce it? >>> >>> If there isn't a problem, we're good to go after I protect tables and channels. >>> >>> Regards, >>> Mike >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >> >>------------------------------------------------------------------------- >>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>Build the coolest Linux based applications with Moblin SDK & win great prizes >>Grand prize is a trip for two to an Open Source event anywhere in the world >>http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>_______________________________________________ >>Csound-devel mailing list >>Csound-devel@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net