[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] call-backs, co-routines and inversion of control
- To: "sc-dev@xxxxxxxxxxxxxxxx" <sc-dev@xxxxxxxxxxxxxxxx>
- Subject: Re: [sc-dev] call-backs, co-routines and inversion of control
- From: Jonatan Liljedahl <lijon@xxxxxxxxxxxx>
- Date: Thu, 10 Jan 2013 13:40:03 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=UYZr+wZvQAouLmc1JWm9zJ7FJV64fr+zyQomYzkzGMA=; b=wt9/gf+oH1+A/exxPuf3uQ6wFzluh6e5eq88DC0PiAOLgcyv9yjH9HWfhj9pmC3bGR x32mnEc90TbO+a4PyJvYlAoRIA4DG5iea7eSJ9F9J6I47w8pZz5ymfvgn895JrMTtxAa D0mKaiywYHmzWsnygDdSQZr9WjvV9UbKIoSGRAUhFefXse7j6sK6aXe79FA9sffQ+CuL iV3L69U/FbSK3J/3aLLPwV7URLa7B0CIXYql/uoZVzljzHXYehj++VwBu/drFfYnqACk T4yey+W+ZW30HbTcOEwb0A2jAx5SxuPwdgVqcYcbJjQ7q/4fCz+f4LZavVDSOdwvIk5I Ov/g==
- In-reply-to: <8014A7BE-ADD9-4B5A-999D-4009FE63CF64@friendlyvirus.org>
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- References: <778221C9-492A-4DB9-BA09-EB1DEEAECB49@friendlyvirus.org> <50ABBC37.6030101@klingt.org> <A145DF2F-0446-498D-86EE-E5A8C9D7582E@bham.ac.uk> <1F4DC433-1998-48B1-BF7D-B139E2E6A88E@musikundmedien.net> <CALfiFhD_XXFG62jVvHE9D4wdKviZ8NMjXSdB1+7Sh8k+qfU5Jg@mail.gmail.com> <0D25C620-C6F3-4FA0-9386-F643B48B87E0@musikundmedien.net> <6970E904-41EB-4F4B-976F-7B8B25930B10@friendlyvirus.org> <2901865F-E435-4187-9EE8-88649F84CADA@musikundmedien.net> <CAFniQ7W4kKUsgmR1KwB+VL9O=LGB__wM2UgW=CP56QLB-9BhbQ@mail.gmail.com> <97E72E9E-6576-49D4-A51E-12C58EAA6B6F@musikundmedien.net> <CAFniQ7XbX_tuMVs7Oc1dKGy6aM8KotXYbY_3nPg=cfX3_XCJPQ@mail.gmail.com> <C3DC6B65-7432-4F81-97EB-DCDAF0D92EC8@musikundmedien.net> <79E883CF-EBAF-41BF-BC17-75146B15A206@friendlyvirus.org> <E3730DCA-1B98-42DF-AFA0-6FF6084D2436@musikundmedien.net> <E0FCBEE0-D9BF-4656-963C-5E3EA9E20045@musikundmedien.net> <1C65DD7F-62FC-4374-8F58-592533FC2880@friendlyvirus.org> <9F3E5205-3976-4A5D-946A-58BF3317E230@friendlyvirus.org> <A8AD02EE-FCB9-4891-B301-D5A8893346EE@musikundmedien.net> <9B4BB402-C236-4830-B5B4-0B08A40731BE@friendlyvirus.org> <CALfiFhDfmg_kvQ3G+6NNwR56qyOfmhyE5oYiWLqNpYrCLJmp_Q@mail.gmail.com> <8014A7BE-ADD9-4B5A-999D-4009FE63CF64@friendlyvirus.org>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
Yes, if it actually changes the behavior of s.bind, please do not push
this to the master branch. Otherwise it will break code. And I would
suggest (again) to push this to a separate experimental branch in any
case, so we can develop a fully working and well tested functionality
instead of bloating the class library by adding half-finished stuff.
On Thu, Jan 10, 2013 at 12:49 PM, Miguel Negrao
<miguel.negrao-lists@xxxxxxxxxxxxxxxxx> wrote:
> A 08/01/2013, às 09:52, Jonatan Liljedahl escreveu:
>
>> On Tue, Jan 8, 2013 at 12:59 AM, Miguel Negrao
>>> The only issue perhaps is that it will not keep the old behavior of the the bind method, since it will always sync on each async action, but from what I was told, all the async actions are run in sequence in the server anyway, so it doesn’t make much difference perhaps.
>>
>> But wouldn't that make a difference in the sclang context? If s.bind
>> now always syncs at the end, and previously did not? One might want to
>> send a bundle, do some langside stuff while the server is working, and
>> only then wait on a sync.
>
> I think you’re right, so this patch would indeed remove that possibility. I would then suggest that this new behavior would be implemented using a different method ( s.do ? ) and that the old behavior would be kept intact.
>
> best,
> Miguel
> _______________________________________________
> sc-dev mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
--
/Jonatan
http://kymatica.com
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/