[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] AppClock.clear? (was Button action not freeing synth)
Better to use Routines rather than functions.
AppClock.sched(0, a = Routine { loop { "foo".postln; 1.yield; } } );
a.stop;
hjh
On Thu, Apr 30, 2009 at 11:32 AM, Scott Worthington <stwbass@xxxxxxxxx> wrote:
>
>>
>> Keep track of your threads and stop them individually.
>> hjh
>
> I'm not sure how to do this. My first thought was
>
> AppClock.sched(0, a = {"foo".postln; 1} );
> a.stop
>
> but that doesn't stop the postln-ing.
>
> Thanks again,
> sw
>
> --
> Scott Worthington
> stwbass@xxxxxxxxx
> www.scottworthington.com
>
--
James Harkins /// dewdrop world
jamshark70@xxxxxxxxxxxxxxxxx
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/