logo       

defer: msg#00176

audio.supercollider.devel

Subject: defer


how does this seem ?

Process
canCallOS {
^(curThread.clock === AppClock)
}

Function
valueInApp {
if(thisProcess.canCallOS,{ this.value; },{ this.defer; })
}

better name ?
I wouldn't mind just changing defer and dropping the delta.
nearly all usages of it are for the express purpose of ensuring we are in the
right process for gui updates.


-felix


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise