From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [OSSTEST PATCH [RFC] 0/3] Series short description Date: Fri, 6 Dec 2013 10:23:32 +0100 Message-ID: <1386321812.5338.573.camel@Solace> References: <20131205150935.20194.10427.stgit@drall.uk.xensource.com> <21152.39630.599085.948604@mariner.uk.xensource.com> <1386260250.5338.530.camel@Solace> <21152.47413.593945.703652@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4834462405536309362==" Return-path: In-Reply-To: <21152.47413.593945.703652@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============4834462405536309362== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kMUnx5s1iG5aIivJHjh3" --=-kMUnx5s1iG5aIivJHjh3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On gio, 2013-12-05 at 17:34 +0000, Ian Jackson wrote: > Dario Faggioli writes ("Re: [Xen-devel] [OSSTEST PATCH [RFC] 0/3] Series = short description"): > > ... I knew a language called like that existed, but that is mostly it, > > and while I try to understand that fancy syntax, any pointer to what I > > should look at to understand how it "already knows how to parallelise > > operations on multiple hosts" and hence how I'd be able to "make it > > capable of doing these kind of stepwise operations on multiple guests"? >=20 > Tcl itself is just a programming language. It happens to have very > good support for writing event-continuation-passing-style programs, > with little code. > Yes, that I knew. I've seen it being used for event based simulation, but I never got to that. > (I also really like it.) >=20 That I suspected. :-P > In sg-run-job the core of this is done with the spawn-ts and reap-ts > procedures. Mostly in sg-run-job, these are combined into run-ts, > which spawns and then immediately reaps. >=20 Ok. > But there is an existing proc per-host-ts which interprets its > arguments as a specification of a set of hosts, and spawns the script > on each host and then reaps them again, so that the same script runs > in parallel on all the hosts. >=20 Right, as I said, I felt like that could be the spot. I'll look into it and try to understand what goes on there (and the how to extend that as per my needs). > The tcl.tk website has comprehensive language documentation of course, > but I would be happy to help/review/etc. Do you like learning new > languages ... ? >=20 I certainly do! :-) Thanks for the explanation and the pointers. Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-kMUnx5s1iG5aIivJHjh3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iEYEABECAAYFAlKhl5UACgkQk4XaBE3IOsR4QwCggGu6qEEVKbUc0kP0wuQR6K83 DgwAoKBCjXkqVe7SvH/OcPegC0pCcHZW =Atbu -----END PGP SIGNATURE----- --=-kMUnx5s1iG5aIivJHjh3-- --===============4834462405536309362== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4834462405536309362==--