| I am sure you are right about the difficulty, but Csound will much more like
other C programs and much easier for new Csound programmers to understand if
we just bite the bullet and do it.
============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================
----- Original Message -----
From: "Matt J. Ingalls"
To: "Csound Developers Discussion List"
Sent: Sunday, November 16, 2003 3:24 AM
Subject: [CSOUND-DEV:3329] Re: Road to Reentrancy
>
> > 2)Remove use of #defines that map to cglob, one by one, and do a global
> > find and replace to manually replace calls. This basically does what
> > the cglob-mapping defines do using the preprocessor.
> >
> > 3)Rename cglob to something else, thus removing it from the global
> >
>
> i would just do 2 & 3 at once. i just tried this with csound4 sources and
> got over 3000 errors -- and it looks like that it only attempted compiling
> about half the files..
>
> so it may end up being A LOT of work to chance every function that uses an
> ex-global variable to take a passed GLOBALS struct. the other option
> [as steven and i already discussed]
> would be to just swap cglob structs on every API call -- you
> would have to put up blocks for multiple instances, but it could be MUCH
> easier than the other option...
>
> -m
> |