[CM] S7, reentrancy, and threads
iainduncanlists at gmail.com
Tue Dec 24 12:02:01 PST 2019
Thanks Bill. Right, I guess I had just assumed they were running separate
interpreters, but I suppose there's no reason they would need to be. I
don't think Max objects get separate threads, but I do know that different
parts of your c external run in at least separate dsp and event threads.
On Tue, Dec 24, 2019 at 11:58 AM <bil at ccrma.stanford.edu> wrote:
> > is it possible to have these separate calls to scheme share data
> > and affect each others runtimes, including function definitions?
> I don't think this will work -- you can share constant data, but
> not anything in the heaps. I don't see why you'd need a separate
> interpreter for every object. Are Max objects separate threads
> jS objects are similar to s7 lets (i.e. a collection of names+values,
> and if the value is a function, it's considered a "method").
> So you just need to map between those (or some facsimile thereof), all
> within one s7 interpreter. s7's object-oriented stuff is very close
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cmdist