[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] calling a Function from a primitive



So how should one implement event-driven code where the events come from C?

Ross.

----- Original Message ----- 
From: "James McCartney" <asynth@xxxxxx>
To: "SuperCollider developers list" <sc-dev@xxxxxxxxxxxxxxx>
Sent: Sunday, December 14, 2003 5:35 PM
Subject: Re: [sc-dev] calling a Function from a primitive


> 
> You must never do that. Primitives may not reenter the interpreter. It 
> would make yielding from and resuming a coroutine impossible.
> 
> On Dec 13, 2003, at 4:56 PM, ccos wrote:
> 
> >
> > what's the best way of calling an sclang
> > Function stored in an instance variable
> > of an object from inside a primitive?
> >
> -- 
> --- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
> SuperCollider - a real time audio synthesis programming language
> 
> _______________________________________________
> sc-dev mailing list
> sc-dev@xxxxxxxxxxxxxxx
> http://www.create.ucsb.edu/mailman/listinfo/sc-dev