> My plan is to have a seperate "note playback" thread that does nothing > except play notes. Ideally, this would be combined with the song > iterators, as then we could just do things like "kill off the thread > playing that song and start up a new thread playing another song" and > the iterators would be in a sane satate if we were to resume 'em later.
Or just tell the note playback thread to switch to a different song iterator containing a different song? > I thought the problems we were having with win32 were more to do with > timer accuracy than anything else..? Yes that's right. If we start using song iterators this should be able to be fixed. [snip] > Currently it has no mutexes or thread synchronization thingeys at all. > We may eventually need spinlock protection for some things, but frankly, > SSCI has the same races going on. Sierra would surely have realised this. Maybe they thought the synchronisation overhead for computers of that time would be too high? Anyway, sounds good! Alex.
