[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] AppClock.clear? (was Button action not freeing synth)
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-users] AppClock.clear? (was Button action not freeing synth)
- From: James Harkins <jamshark70@xxxxxxxxx>
- Date: Thu, 30 Apr 2009 10:43:19 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=JXruGL3G+/oNSTMEmLx4mt7zfbVtluAbdtKUjL6xUyo=; b=ayvFV0M1Fh3dxb9soD6BTolGRWwgnk1LRulw6XBRsij2tRHuGf0d07jN+mETCqr7x9 aQ8wFIoE1JQ4IVr2omhRrlHIwb1GT+8aFKTQbG0mLtzNX4TIp3n7UYHZG+1VF5bWlgXH 9lALtUN+nIoifLezDF/zqaSmdVdE8ZN9yy2+k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=XnqmnF5pPwmFvkWcBvbf1S4cJmh9NsLr1fdxvekxtOxJqE/WY6T616F2vANfgoNCBF yTmYD3nI+TNNdOwkGSZqC0TF8/zpLobOTT62dvLdZBYpU2bv96ixfDQkXR0CcgTG4ZSW HggH/T+AUcKrXlOYvh94RdK31A4hkBHoE+7j4=
- In-reply-to: <1eb291c60904300644t50a2b6b2kcdf2f00a6b7091fd@xxxxxxxxxxxxxx>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <1eb291c60904300644t50a2b6b2kcdf2f00a6b7091fd@xxxxxxxxxxxxxx>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
That's right. You shouldn't clear AppClock because it will affect
EVERYTHING running on AppClock. One of the things running on AppClock
is the server's aliveThread.
Keep track of your threads and stop them individually.
hjh
On Thu, Apr 30, 2009 at 9:44 AM, Scott Worthington <stwbass@xxxxxxxxx> wrote:
> Hello,
>
> Clearing the AppClock is making my server window freeze up until cmd+.
>
> a = AppClock.sched(0, { "foo".postln; 1}) //sched
> x = {SinOsc.ar}.play // new synth in the server window
> a.clear //clear it, server window freezes
> s.queryAllNodes //temp is there
> x.free //still no change in server window
> s.queryAllNodes //gone as it should be
--
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/